LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-20-2012, 01:50 PM   #1
rimbong
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
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
 
Old 01-20-2012, 02:07 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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
 
Old 01-20-2012, 02:17 PM   #3
Justin236
LQ Newbie
 
Registered: Jul 2008
Distribution: OpenBSD
Posts: 6

Rep: Reputation: 0
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.
 
Old 01-20-2012, 03:53 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
1 members found this post helpful.
Old 01-22-2012, 07:58 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The command : rpm -ql hdf5

.. will reply with the "hdf5" file list.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yum "Package(s) php available, but not installed. No Packages marked for update" devwink Linux - Server 9 03-11-2010 05:00 PM
How to save a rpm downloaded & installed by "yum install xxx.rpm" command shashi1234567 Linux - Networking 3 12-25-2009 10:49 AM
Kernel downloaded with "yum", but not installed. Madone_SL_5.5 Linux - Kernel 1 11-18-2006 10:35 AM
"yum info python" gave me 2 installed items. Why? gneeot Linux - General 3 06-29-2006 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration