Searching packages: Difference between revisions
m changed link from redirect page to article |
Peterldowns (talk | contribs) I added a reference to peterldowns/nix-search-cli. I checked with the wiki maintainers before making this edit: https://github.com/NixOS/nixos-wiki-infra/issues/157 |
||
| Line 65: | Line 65: | ||
== Reverse search: searching which package provides a file == | == Reverse search: searching which package provides a file == | ||
There | There are third party programs that make it easier to determine which package you need to install in order to obtain a specific file or program. | ||
These are most commonly used, and require you to create an index on your computer before you can search for a package: | |||
* [https://github.com/nix-community/nix-index nix-community/nix-index] | |||
* [https://github.com/replit/rippkgs replit/rippkgs] | |||
These are online tools which search an index someone else keeps up to date: | |||
* [https://github.com/peterldowns/nix-search-cli peterldowns/nix-search-cli]: <code>nix-search -p theBinaryIWantToInstall</code> to search the search.nixos.org elasticsearch index. | |||
[[Category:Reference]] | [[Category:Reference]] | ||
[[Category:Nixpkgs]] | [[Category:Nixpkgs]] | ||