LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   location of software installed by "yum" command? (https://www.linuxquestions.org/questions/fedora-35/location-of-software-installed-by-yum-command-924844/)

rimbong 01-20-2012 01:50 PM

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

ButterflyMelissa 01-20-2012 02:07 PM

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:

ln -s /top/folder/to/software software
whare "software" obviously is the name of the software in question. An example to something in the /opt folder and executed in the /etc folder:

Quote:

ln -s /opt/f-prot/fpscan fpscan
where "fpscan" is the name of the program...

I think Fedora has a find-files util somewhere in the Accessories section, but I'm not sure...

Good luck

Thor

Justin236 01-20-2012 02:17 PM

Use rpm.
 
You might try:
Code:

$ rpm --filesbypkg hdf5
I'm not sure exactly what yum is: it seems to be little more than a bunch of gratuitous sugar and spice spinning on top of rpm.

John VV 01-20-2012 03:53 PM

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

knudfl 01-22-2012 07:58 AM

The command : rpm -ql hdf5

.. will reply with the "hdf5" file list.


All times are GMT -5. The time now is 06:25 PM.