Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-23-2007, 05:44 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Exclamation Where are the rpm packges installed defaultly?

Hello Dudes,

I have problem in knowing whether a rpm package is installed or not. I couldn't find where it is installed and how could i run those packages.
Old 02-23-2007, 05:48 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can find out if an rpm is installed by running the "rpm -qa NameOfPackage". What package did you install and on what distro?
Old 02-23-2007, 06:09 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
A package will probably install packages in more than one place. Such as a binary in /usr/bin; a library in /usr/lib; notes in /usr/share/doc/packages/<package-name>.

The rpm command: rpm -ql <package-name>
will list the files that a package supplied.

If you know part of the name of a package, then pipe the output to grep, for example:
rpm -qa | grep office

If you know an associated file that a package supplied, you can find which package supplied the file:
rpm -qf /etc/openct.conf

Last edited by jschiwal; 02-24-2007 at 02:40 AM. Reason: added grep info.


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
problem installing devlopment packges juanb Linux - Newbie 3 01-04-2006 03:47 PM
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
rpm -q not shows installed rpm mla Linux - Software 4 10-31-2004 02:49 PM
packges problem einstien Fedora 5 09-24-2004 06:05 AM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

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