PDA

View Full Version : Find yum package installation location


maz00
18th December 2009, 10:14 PM
Hi,

I'm using
yum install libxml2 and it says it's already installed. I need to configure php with the location of libxml2.

Is there a yum command to show me where the libxml2 installation folder is? or any other package example apache ...etc.

Thanks
M.

Hlingler
18th December 2009, 10:21 PM
The is usually not one single folder containing all files from one package, rather, the file(s) are placed in appropriate system locations; to see where the file(s) are, for example:
rpm -ql libxml2

V

scott32746
18th December 2009, 10:24 PM
Not yum commands, but

# whereis libxml2

# locate libxml2

# find / -name libxml2 -exec ls -l {} \;