[Yum] Find out where a package is installed.

Paul Howarth paul at city-fan.org
Fri Jul 23 19:02:54 UTC 2010


On Fri, 23 Jul 2010 18:20:28 +0100
Dave Pawson <dave.pawson at gmail.com> wrote:

> I'm having fun with a couple of packages.
> Python setup.py install  returns the error
> 
> Package poppler was not found in the pkg-config search path.
> Perhaps you should add the directory containing `poppler.pc'
> to the PKG_CONFIG_PATH environment variable
> 
> 
> yet I have poppler installed accoding to yum info.
> I can't find 'poppler.pc' on the system anywhere.
> 
> # yum info poppler
> Loaded plugins: presto, refresh-packagekit
> Installed Packages
> Name       : poppler
> Arch       : x86_64
> Version    : 0.12.4
> Release    : 2.fc13
> Size       : 1.9 M
> Repo       : installed
> >From repo  : anaconda-InstallationRepo-201005130101.x86_64
> Summary    : PDF rendering library
> URL        : http://poppler.freedesktop.org/
> License    : GPLv2
> Description: Poppler, a PDF rendering library, is a fork of the xpdf
> PDF : viewer developed by Derek Noonburg of Glyph and Cog, LLC.
> 
> But it doesn't tell me where poppler is installed?
> 
> Can I find out from yum please?

You can find out from rpm what's in the package:

$ rpm -ql poppler
/usr/lib64/libpoppler.so.5
/usr/lib64/libpoppler.so.5.0.0
/usr/share/doc/poppler-0.12.4
/usr/share/doc/poppler-0.12.4/COPYING
/usr/share/doc/poppler-0.12.4/README

Paul.


More information about the Yum mailing list