Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For those using dnf

  dnf repoquery -l packagename
To list the files within a package.

  dnf whatprovides "**/bin/executable"
To find what package provides a certain file. Definitely very useful when trying to build packages from source and not sure in what packages the reported missing libs/headers are located.


And the most obvious

  dnf search <something>




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: