Skip to main content

Search the package

Another short note in the series "useful package-manager commands" ;) .

Every serious user of Linux has experienced the problem of a missing shared library when compiling the sources of a third-party program. Now, you may know that you'd need for a successful compilation, but you may not know which (not installed!) package actually contains this particular library.

I know only two package managers which would deliver this information in a straightforward way:


urpmf <exact_filename>


wajig whichpkg <exact_filename>

(this one needs lynx and fping)

In Archlinux, pacman -Qo only searches local packages, as does OpenSuse's pin. :(

Contents © 2018 Cobra · About · Privacy · Powered by Nikola · Creative Commons License BY-NC-SA