Re: Find out where a package is installed.

Paul Howarth <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On Fri, 23 Jul 2010 18:20:28 +0100
Dave Pawson <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.