location of software installed by "yum" command?
How can I get to know the location of a software installed by "yum" command?
In fact the problem I met right now is: One software I'm trying to install need the package of HDF5. But when I tried " yum install hdf5", it seems this package has been installed. So I need to find out where I installed the HDF5 in Fedora16. or just figure out where are those --hdf5-dir=HDF5_DIR Base directory for HDF5 installation. --hdf5-inc-dir=HDF5_INC_DIR Directory for HDF5 headers. --hdf5-lib-dir=HDF5_LIB_DIR Directory for HDF5 libraries. --hdf5-libs=HDF5_LIBS HDF5 libraries. Thanks, Rimbong |
Okay, well, it seems only Yum knows where the software is installed, hmm, not good. What I can suggest is to either append the PATH variable (not really good) or (even better) locate the program/software and put a symlink to it in, say, /etc:
Quote:
Quote:
I think Fedora has a find-files util somewhere in the Accessories section, but I'm not sure... Good luck Thor |
Use rpm.
You might try:
Code:
$ rpm --filesbypkg hdf5 |
rpm's are installed in standard locations ( most of the time)
/usr/bin /usr/lib /usr/lib64 /usr/share now some like Libreoffice /opt/libreoffice3.4 Code:
yum info hdf5 |
The command : rpm -ql hdf5
.. will reply with the "hdf5" file list. |
All times are GMT -5. The time now is 06:25 PM. |