FR version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
83% Positive
Analyzed from 1104 words in the discussion.
Trending Topics
#package#linux#packages#search#don#manager#though#https#foo#org

Discussion (38 Comments)Read Original on HackerNews
Where else would you put the repository domains?
Generally I advice against hard doing stuff that changes often and may need to be adjusted for different users or organizations.
Nixpkgs has. :)
Nowadays the only search like this I need to run is
It would be nice to have a CLI alternative to Repology, though.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.
Repology provides an API but it's unstable: https://repology.org/api/v1
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.
Since switching to that and flatpak my distro choice is "what sticks closest to the upstream of [my preferred DE]"
Nix is not there yet in terms of user friendliness. homebrew for linux is pretty awesome.
Only issue i have is that it creates a separate user and doesn’t support custom prefixes (their page says you are on your own if using custom prefixes). While their reasoning is sound, not having an easy way to know which programs will break if using custom prefix is a bummer for me at work.
And of course my tool searches their native package manager, not their online services, API, package repos. That's a completely different approach.
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.
The tldr is binaries on linux really should have org unit as a meta data field because when I write a task manager in C it needs to be fast.
List of linux package search databases:
https://github.com/sxiii/awesome-package-search
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.