logoalt Hacker News

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

108 pointsby peter_d_shermantoday at 3:01 PM26 commentsview on HN

Comments

chbtoday at 3:14 PM

First I saw that it's written in Perl. Then I realized that the last release was 11 years ago and that the repository domains are hardcoded in the one-file script.

show 2 replies
pxctoday at 5:57 PM

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.
show 1 reply
c-hendrickstoday at 5:45 PM

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]"

show 1 reply
hparadiztoday at 5:14 PM

I've been working on a GUI task manager for Linux and I've been wanting to put a "Funding" or ownership meta data next to the process or process group in the view so people can know where the upstream code lives, how to support the project, and what organizational unit "owns" that process.

So I actually vibe coded a script that does this against a sqlite db I've been considering to bundle with my task manager so it can know this stuff on the fly.

But yea this is a key missing component in Linux user space. Windows let's you encode organizational stuff into an exe but on Linux binaries don't really have that.

Fnoordtoday at 3:54 PM

Latest release: May 19, 2015

Abandoned, but forkable (since FOSS), and a decent idea.

Probably nowadays this gets done in Node, parsing the package search websites. Preferably, this would be done via an API though.

show 2 replies
nikisweetingtoday at 7:57 PM

Oh nice, I just implemented something like this for installing from any package manager uv-style https://abxpkg.archivebox.io/, but I haven't added a "search" command yet, I should add that!

dilawartoday at 5:11 PM

There is also https://pkgs.org ..

deferredgranttoday at 8:36 PM

This is exactly the kind of boring CLI tool that earns its keep. Package names and availability differ just enough across distros to waste time in tiny annoying increments.

yjftsjthsd-htoday at 4:29 PM

This would pair nicely with distrobox or Bedrock Linux:)

peter_d_shermantoday at 3:02 PM

Related:

List of linux package search databases:

https://github.com/sxiii/awesome-package-search

bblbtoday at 4:35 PM

This kind of busy work should suit an AI agent:

Go and find me all the repolists and package/software metadata for any distro and OS ever released. Write the results to a local SQLite. Incrementally update, but don't hammer the sources to death. Provide a web UI and CLI.

show 1 reply