Archive

Posts Tagged ‘Ubuntu’

Search for a package containing a certain file

January 30th, 2013 No comments

Assumed you want to find the package that contains the shared object libGLU.so.1, e.g. because a binary is dynamically linked against it, and ldd tells you that the shared library requirements are not met. On Fedora (or any yum-type os) you’d run

$ yum whatprovides */libGLU.so.1

and yum would tell you, that mesa-libGLU comes with /usr/lib64/libGLU.so.1 which could fulfill your need (could because you could also be missing the i686 version of the package, depending on your binary).

The Ubuntu way of achieving the same thing:

$ apt-file search libGLU.so.1

And of course the corresponding package would be libglu1-mesa on any recent Ubuntu os.

Categories: Uncategorized Tags: , ,