14 comments

  • chb11 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.
    • Intralexical10 hours ago
      Does it still work, though?<p>Where else would you put the repository domains?
      • halJordan8 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-hendricks7 hours ago
          The URL to search for packages in Ubuntu for example hasn&#x27;t changed to my knowledge. Are you assuming it&#x27;s only looking for packages in releases that were current at the time?
        • yjftsjthsd-h5 hours ago
          The site it hardcodes is <a href="https:&#x2F;&#x2F;packages.ubuntu.com" rel="nofollow">https:&#x2F;&#x2F;packages.ubuntu.com</a>, so yes I would expect it to work fine
      • pimlottc9 hours ago
        In about a hundred or so separate microservices, of course…
    • thilog7 hours ago
      The last commit was four years ago.
  • pxc8 hours ago
    Who has?<p>Nixpkgs has. :)<p>Nowadays the only search like this I need to run is<p><pre><code> nix-locate -r &#x27;bin&#x2F;foo$&#x27; </code></pre> It would be nice to have a CLI alternative to Repology, though.
    • sestep5 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:<p><pre><code> foo </code></pre> And if you don&#x27;t have it installed, you can run it (without installing!) like this:<p><pre><code> , foo </code></pre> And if multiple different packages provide a program named bin&#x2F;foo then comma lets you interactively choose the one you want, and remembers your choice so you don&#x27;t have to specify again unless you choose to via the -d flag.
    • arikrahman18 minutes ago
      I&#x27;ve been using <a href="https:&#x2F;&#x2F;search.nixos.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;search.nixos.org&#x2F;</a> this whole time to find packages. Thanks for dropping this!
    • foobarqux2 hours ago
      ....<p><pre><code> function repology() { curl -L --user-agent &#x27;hackernews&#x27; \ &quot;http:&#x2F;&#x2F;repology.org&#x2F;api&#x2F;v1&#x2F;project&#x2F;$@&quot; }</code></pre>
  • Fnoord10 hours ago
    Latest release: May 19, 2015<p>Abandoned, but forkable (since FOSS), and a decent idea.<p>Probably nowadays this gets done in Node, parsing the package search websites. Preferably, this would be done via an API though.
    • RunningDroid10 hours ago
      &gt; Probably nowadays this gets done in Node, parsing the package search websites. Preferably, this would be done via an API though.<p>Repology provides an API but it&#x27;s unstable: <a href="https:&#x2F;&#x2F;repology.org&#x2F;api&#x2F;v1" rel="nofollow">https:&#x2F;&#x2F;repology.org&#x2F;api&#x2F;v1</a>
    • lschueller10 hours ago
      Yes, agree. The idea and concept is cool! Imo worth it to keep an eye on it and play with it.<p>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.
  • hparadiz9 hours ago
    I&#x27;ve been working on a GUI task manager for Linux and I&#x27;ve been wanting to put a &quot;Funding&quot; 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 &quot;owns&quot; that process.<p>So I actually vibe coded a script that does this against a sqlite db I&#x27;ve been considering to bundle with my task manager so it can know this stuff on the fly.<p>But yea this is a key missing component in Linux user space. Windows let&#x27;s you encode organizational stuff into an exe but on Linux binaries don&#x27;t really have that.
  • c-hendricks8 hours ago
    Shame Homebrew for Linux is getting no love from any of the tools &#x2F; lists mentioned here.<p>Since switching to that and flatpak my distro choice is &quot;what sticks closest to the upstream of [my preferred DE]&quot;
    • dan156 hours ago
      Do Linux users actually use Homebrew day to day? My impression of it was that it&#x27;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).
      • c-hendricks4 hours ago
        I have for a while yeah. As mentioned it means the distro packages don&#x27;t matter for a lot of developer tools &#x2F; CLIs. Wanna use a stable Debian &#x2F; Ubuntu LTS for years? Want to use rolling releases so your desktop is up to date? Homebrew&#x27;s got you covered.
      • ElectricalUnion5 hours ago
        In bazzite&#x2F;Fedora Silverblue, it&#x27;s the expected way non-GUI packages are installed to the host system. The other way is toolbox&#x2F;distrobox (rootless containers tightly integrated with the host).
      • data-ottawa5 hours ago
        It’s the default package manager in Bazzite and is once of the most functional packagr managers on atomic fedora.
      • Fnoord1 hour ago
        I use it on DSM (Synology OS) because all the software can be easily installed outside of DSM.
  • dilawar9 hours ago
    There is also <a href="https:&#x2F;&#x2F;pkgs.org" rel="nofollow">https:&#x2F;&#x2F;pkgs.org</a> ..
  • nikisweeting6 hours ago
    Oh nice, I just implemented something like this for installing from any package manager uv-style <a href="https:&#x2F;&#x2F;abxpkg.archivebox.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;abxpkg.archivebox.io&#x2F;</a>, but I haven&#x27;t added a &quot;search&quot; command yet, I should add that!
  • yjftsjthsd-h10 hours ago
    This would pair nicely with distrobox or Bedrock Linux:)
  • peter_d_sherman11 hours ago
    Related:<p>List of linux package search databases:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sxiii&#x2F;awesome-package-search" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sxiii&#x2F;awesome-package-search</a>
  • TZubiri1 hour ago
    &quot;Just gimme thething, I don&#x27;t care where from&quot; is a great way to get supply chain vulns
  • deferredgrant6 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.
  • bblb10 hours ago
    This kind of busy work should suit an AI agent:<p>Go and find me all the repolists and package&#x2F;software metadata for any distro and OS ever released. Write the results to a local SQLite. Incrementally update, but don&#x27;t hammer the sources to death. Provide a web UI and CLI.
    • embedding-shape9 hours ago
      Or you know, you could do that with a ~100 long script. You don&#x27;t have to use LLMs for everything, especially when you&#x27;re not dealing with freeform text at all, use data types and data structures, we&#x27;ve created the concepts for a reason.
      • bblb8 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&#x27;s an agent that keeps scouring the net autonomously for more distros, then I wouldn&#x27;t have to update the sources manually on my 100 line script.