Live data from Hacker News

Whohas – Command-line utility for cross-distro, cross-repository package search

github.com

21–30 of 42 posts

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#22

Shame Homebrew for Linux is getting no love from any of the tools / lists mentioned here. Since switching to that and flatpak my distro choice is "what sticks closest to the upstream of [my preferred DE]"

Do Linux users actually use Homebrew day to day? My impression of it was that it's mostly for MacOS users that want to keep doing things the same way instead of learning the Linux way (using the OS package manager).

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#24

Earlier quoted context omitted.

Does it still work, though? Where else would you put the repository domains?

Are you asking if this tool can find something on ubuntu 26.04 when the urls it has were hardcoded 11 years ago?

The site it hardcodes is https://packages.ubuntu.com, so yes I would expect it to work fine

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#25
post #16

Who has? Nixpkgs has. :) Nowadays the only search like this I need to run is nix-locate -r 'bin/foo$' It would be nice to have a CLI alternative to Repology, though.

Another great tool, built on top of nix-locate, is comma. So for any program foo, if you have foo installed, you can run it like this:

  foo
And if you don't have it installed, you can run it (without installing!) like this:

  , foo
And if multiple different packages provide a program named bin/foo then comma lets you interactively choose the one you want, and remembers your choice so you don't have to specify again unless you choose to via the -d flag.

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#26
post #22

Shame Homebrew for Linux is getting no love from any of the tools / lists mentioned here. Since switching to that and flatpak my distro choice is "what sticks closest to the upstream of [my preferred DE]"

Do Linux users actually use Homebrew day to day? My impression of it was that it's mostly for MacOS users that want to keep doing things the same way instead of learning the Linux way (using the OS package manager).

It’s the default package manager in Bazzite and is once of the most functional packagr managers on atomic fedora.

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#27
post #22

Shame Homebrew for Linux is getting no love from any of the tools / lists mentioned here. Since switching to that and flatpak my distro choice is "what sticks closest to the upstream of [my preferred DE]"

Do Linux users actually use Homebrew day to day? My impression of it was that it's mostly for MacOS users that want to keep doing things the same way instead of learning the Linux way (using the OS package manager).

In bazzite/Fedora Silverblue, it's the expected way non-GUI packages are installed to the host system. The other way is toolbox/distrobox (rootless containers tightly integrated with the host).

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#28
post #22

Shame Homebrew for Linux is getting no love from any of the tools / lists mentioned here. Since switching to that and flatpak my distro choice is "what sticks closest to the upstream of [my preferred DE]"

Do Linux users actually use Homebrew day to day? My impression of it was that it's mostly for MacOS users that want to keep doing things the same way instead of learning the Linux way (using the OS package manager).

I have for a while yeah. As mentioned it means the distro packages don't matter for a lot of developer tools / CLIs. Wanna use a stable Debian / Ubuntu LTS for years? Want to use rolling releases so your desktop is up to date? Homebrew's got you covered.

Re: Whohas – Command-line utility for cross-distro, cross-repository package search

#29
post #16

Who has? Nixpkgs has. :) Nowadays the only search like this I need to run is nix-locate -r 'bin/foo$' It would be nice to have a CLI alternative to Repology, though.

....

     function repology() {
         curl -L --user-agent 'hackernews' \
             "http://repology.org/api/v1/project/$@"
    }
Post reply on HN