chb 16 hours ago

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.

  • Intralexical 14 hours ago

    Does it still work, though?

    Where else would you put the repository domains?

    • pimlottc 13 hours ago

      In about a hundred or so separate microservices, of course…

    • halJordan 13 hours ago

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

      • c-hendricks 12 hours ago

        The URL to search for packages in Ubuntu for example hasn't changed to my knowledge. Are you assuming it's only looking for packages in releases that were current at the time?

  • thilog 12 hours ago

    The last commit was four years ago.

pxc 13 hours ago

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.

  • sestep 10 hours ago

    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.

  • foobarqux 7 hours ago

    ....

         function repology() {
             curl -L --user-agent 'hackernews' \
                 "http://repology.org/api/v1/project/$@"
        }
Fnoord 15 hours ago

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.

  • lschueller 15 hours ago

    Yes, agree. The idea and concept is cool! Imo worth it to keep an eye on it and play with it.

    First thought, which came to my mind, was a security use case to get it to a point for sbom handling and tracking. In particular, respective to all the recent package vulnerabilities.

  • RunningDroid 15 hours ago

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

    Repology provides an API but it's unstable: https://repology.org/api/v1

c-hendricks 13 hours ago

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

  • dan15 11 hours ago

    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).

    • data-ottawa 10 hours ago

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

    • ElectricalUnion 10 hours ago

      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).

    • c-hendricks 9 hours ago

      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.

    • Fnoord 5 hours ago

      I use it on DSM (Synology OS) because all the software can be easily installed outside of DSM.

hparadiz 14 hours ago

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.

  • TingPing 4 hours ago

    It already exists, the appstream spec can associate binaries with metadata.

nikisweeting 11 hours ago

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!

  • skeledrew 1 hour ago

    Interesting, I've been wanting something like this. My main deal though is updates: how is that handled? Would love some kind of auto-update with a review/notification mechanism.

yjftsjthsd-h 14 hours ago

This would pair nicely with distrobox or Bedrock Linux:)

deferredgrant 10 hours ago

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.

TZubiri 6 hours ago

"Just gimme thething, I don't care where from" is a great way to get supply chain vulns

bblb 14 hours ago

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.

  • embedding-shape 14 hours ago

    Or you know, you could do that with a ~100 long script. You don't have to use LLMs for everything, especially when you're not dealing with freeform text at all, use data types and data structures, we've created the concepts for a reason.

    • bblb 13 hours ago

      Sure. But then I would have to use my brain to actually write code. I thought we were past that already. Also, if it's an agent that keeps scouring the net autonomously for more distros, then I wouldn't have to update the sources manually on my 100 line script.