LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-12-2008, 06:06 PM   #1
foramgoram
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
Red face rpm -ql package_name' s equivalent with yum


I was wondering if there's equivalent of rpm -ql package_name with yum. This is very useful that shows you what files were installed by a particular packages and their location.

I would like to be informed that how do I do that with a software that's installed from source code. I mean how do I know which files were installed by a software that was compiled from source code.

Thanks
 
Old 06-12-2008, 06:11 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,118
Blog Entries: 54

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
Quote:
Originally Posted by foramgoram View Post
I was wondering if there's equivalent of rpm -ql package_name with yum. This is very useful that shows you what files were installed by a particular packages and their location.
AFAIK Yum doesn't, rpm does.


Quote:
Originally Posted by foramgoram View Post
I would like to be informed that how do I do that with a software that's installed from source code. I mean how do I know which files were installed by a software that was compiled from source code.
Using not 'installwatch' but the other equivalent tool (installwatch doesn't see everything apparently). Or using a file integrity checker like Aide, Samhain, Osiris or even tripwire but that's a wee bit overkill for this.
 
Old 06-12-2008, 06:18 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,503

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by foramgoram View Post

I would like to be informed that how do I do that with a software that's installed from source code. I mean how do I know which files were installed by a software that was compiled from source code.
Software that was installed from source code is not entered into the rpm data base. The rpm data base is the only central location which keeps track of where software is installed. So the solution to your problem is to use checkinstall when you install software from source. You can use checkinstall to create a rpm package from the source code and then install the rpm.

If your distribution does not supply checkinstall then you can download it here:

http://www.asic-linux.com.mx/~izto/c...l/download.php

-----------------------
Steve Stites
 
Old 06-12-2008, 06:19 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Since yum is just a front end for rpm (more or less) and requires rpm, I would imagine it would be considered redundant to add this feature to yum.



You can also use checkinstall for the source code stuff (instead of make install you checkinstall). At his point there is so little that I install from source, it is not longer a problem.
 
Old 06-12-2008, 07:08 PM   #5
foramgoram
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Talking

I installed heartbeat using yum on centos 5 using the default repository. But if I do rpm -ql heartbeat, it says it's not installed while rpm -qa | grep heartbeat shows that it's installed. So I was wondering maybe, I have to use yum to see the files associated with heartbeat.
why rpm is behaving like that?

Last edited by foramgoram; 06-13-2008 at 07:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Equivalent command to rpm -qf keysorsoze Solaris / OpenSolaris 2 08-13-2007 07:51 PM
yum remove rpm --> how to reinstall rpm npubudu Linux - Software 5 01-25-2007 08:08 AM
yum - rpm alfonso12 Fedora - Installation 1 08-23-2006 08:57 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM


All times are GMT -5. The time now is 09:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration