Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 06-10-2010, 08:56 AM   #1
LQ Newbie
Registered: Jun 2010
Posts: 11

Rep: Reputation: 0
where are RPMs installed?

The RPMs are stored on disk. When RPM installation is performed, where are they installed?
Old 06-10-2010, 09:03 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Welcome to LQ!!

First, you download an RPM file. At this point, it could be anywhere. When you "install" it, you are really installing the executable files in appropriate locations. This varies between distros, but the first place to look would be /usr/bin or /usr/sbin.

For some better answers, tell us the distro (version of Linux) that you are using, and which software you are installing.
Old 06-10-2010, 09:07 AM   #3
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
The content of a package is installed in different locations across the system, depending on the type of installed files: binary executables usually are copied (installed) into /usr/bin, manual pages and documentation into /usr/share, and so on. Check the Filesystem Hierarchy Standard for a detailed description of the typical usage of Unix/linux system places.

To see what files (and where) have been installed from a package, you may try the command:
rpm -ql <package-name>
For example, if I would check what's installed by the package tk:
$ rpm -ql tk
Usually the list is very long and you may be interested in finding the name and path of binary executable, so you may want to do:
$ rpm -ql tk | grep bin/
If you prefer a graphical application, the package manager (whatever it be) should also provide a list of the files coming from installed packages. Hope this helps.

Edit: Beaten by pixellany... this time!
Old 08-09-2010, 03:48 AM   #4
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1

check it........
Old 08-09-2010, 07:40 AM   #5
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Originally Posted by yeding71 View Post
The RPMs are stored on disk. When RPM installation is performed, where are they installed?

An RPM just just an archive of files and metadata that says where to put each one, and it could be absolutely anywhere.

Also, if you think executing a program involves opening an RPM, then you're wrong. An RPM is not at all like a Windows .exe.


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
List installed RPMs radam Linux - Software 4 07-21-2004 02:05 PM
RPMS get installed where? Sporndog Linux - Newbie 6 04-06-2004 01:14 AM
Installed KDE 3.1.95 rpms, cannot start? Navin Johnson Fedora 0 01-28-2004 07:57 AM
where are RPMS installed? falconfighter Linux - Newbie 1 12-20-2003 10:28 AM
RPMs Already Installed Parksy Linux - Newbie 6 08-10-2003 04:39 PM

All times are GMT -5. The time now is 07:57 PM.

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