LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-10-2010, 08:56 AM   #1
yeding71
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
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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:
Code:
rpm -ql <package-name>
For example, if I would check what's installed by the package tk:
Code:
$ rpm -ql tk
/usr/bin/wish
/usr/bin/wish8.4
/usr/lib/libtk8.4.so
/usr/lib/tk8.4
/usr/lib/tk8.4/pkgIndex.tcl
/usr/share/doc/tk-8.4.13
/usr/share/doc/tk-8.4.13/README
/usr/share/doc/tk-8.4.13/changes
/usr/share/doc/tk-8.4.13/license.terms
/usr/share/man/man1/wish.1.gz
/usr/share/tk8.4
/usr/share/tk8.4/bgerror.tcl
/usr/share/tk8.4/button.tcl
/usr/share/tk8.4/choosedir.tcl
/usr/share/tk8.4/clrpick.tcl
/usr/share/tk8.4/comdlg.tcl
/usr/share/tk8.4/console.tcl
/usr/share/tk8.4/demos
/usr/share/tk8.4/demos/README
/usr/share/tk8.4/demos/arrow.tcl
/usr/share/tk8.4/demos/bind.tcl
/usr/share/tk8.4/demos/bitmap.tcl
/usr/share/tk8.4/demos/browse
/usr/share/tk8.4/demos/button.tcl
/usr/share/tk8.4/demos/check.tcl
/usr/share/tk8.4/demos/clrpick.tcl
/usr/share/tk8.4/demos/colors.tcl
/usr/share/tk8.4/demos/cscroll.tcl
/usr/share/tk8.4/demos/ctext.tcl
/usr/share/tk8.4/demos/dialog1.tcl
/usr/share/tk8.4/demos/dialog2.tcl
/usr/share/tk8.4/demos/entry1.tcl
/usr/share/tk8.4/demos/entry2.tcl
/usr/share/tk8.4/demos/entry3.tcl
/usr/share/tk8.4/demos/filebox.tcl
/usr/share/tk8.4/demos/floor.tcl
/usr/share/tk8.4/demos/form.tcl
/usr/share/tk8.4/demos/hello
/usr/share/tk8.4/demos/hscale.tcl
/usr/share/tk8.4/demos/icon.tcl
/usr/share/tk8.4/demos/image1.tcl
/usr/share/tk8.4/demos/image2.tcl
/usr/share/tk8.4/demos/images
/usr/share/tk8.4/demos/images/earth.gif
/usr/share/tk8.4/demos/images/earthris.gif
/usr/share/tk8.4/demos/images/face.bmp
/usr/share/tk8.4/demos/images/flagdown.bmp
/usr/share/tk8.4/demos/images/flagup.bmp
/usr/share/tk8.4/demos/images/gray25.bmp
/usr/share/tk8.4/demos/images/letters.bmp
/usr/share/tk8.4/demos/images/noletter.bmp
/usr/share/tk8.4/demos/images/pattern.bmp
/usr/share/tk8.4/demos/images/tcllogo.gif
/usr/share/tk8.4/demos/images/teapot.ppm
/usr/share/tk8.4/demos/items.tcl
/usr/share/tk8.4/demos/ixset
/usr/share/tk8.4/demos/label.tcl
/usr/share/tk8.4/demos/labelframe.tcl
/usr/share/tk8.4/demos/license.terms
/usr/share/tk8.4/demos/menu.tcl
/usr/share/tk8.4/demos/menubu.tcl
/usr/share/tk8.4/demos/msgbox.tcl
/usr/share/tk8.4/demos/paned1.tcl
/usr/share/tk8.4/demos/paned2.tcl
/usr/share/tk8.4/demos/plot.tcl
/usr/share/tk8.4/demos/puzzle.tcl
/usr/share/tk8.4/demos/radio.tcl
/usr/share/tk8.4/demos/rmt
/usr/share/tk8.4/demos/rolodex
/usr/share/tk8.4/demos/ruler.tcl
/usr/share/tk8.4/demos/sayings.tcl
/usr/share/tk8.4/demos/search.tcl
/usr/share/tk8.4/demos/spin.tcl
/usr/share/tk8.4/demos/square
/usr/share/tk8.4/demos/states.tcl
/usr/share/tk8.4/demos/style.tcl
/usr/share/tk8.4/demos/tclIndex
/usr/share/tk8.4/demos/tcolor
/usr/share/tk8.4/demos/text.tcl
/usr/share/tk8.4/demos/timer
/usr/share/tk8.4/demos/twind.tcl
/usr/share/tk8.4/demos/unicodeout.tcl
/usr/share/tk8.4/demos/vscale.tcl
/usr/share/tk8.4/demos/widget
/usr/share/tk8.4/dialog.tcl
/usr/share/tk8.4/entry.tcl
/usr/share/tk8.4/focus.tcl
/usr/share/tk8.4/images
/usr/share/tk8.4/images/README
/usr/share/tk8.4/images/logo.eps
/usr/share/tk8.4/images/logo100.gif
/usr/share/tk8.4/images/logo64.gif
/usr/share/tk8.4/images/logoLarge.gif
/usr/share/tk8.4/images/logoMed.gif
/usr/share/tk8.4/images/pwrdLogo.eps
/usr/share/tk8.4/images/pwrdLogo100.gif
/usr/share/tk8.4/images/pwrdLogo150.gif
/usr/share/tk8.4/images/pwrdLogo175.gif
/usr/share/tk8.4/images/pwrdLogo200.gif
/usr/share/tk8.4/images/pwrdLogo75.gif
/usr/share/tk8.4/images/tai-ku.gif
/usr/share/tk8.4/listbox.tcl
/usr/share/tk8.4/menu.tcl
/usr/share/tk8.4/mkpsenc.tcl
/usr/share/tk8.4/msgbox.tcl
/usr/share/tk8.4/msgs
/usr/share/tk8.4/msgs/cs.msg
/usr/share/tk8.4/msgs/de.msg
/usr/share/tk8.4/msgs/el.msg
/usr/share/tk8.4/msgs/en.msg
/usr/share/tk8.4/msgs/en_gb.msg
/usr/share/tk8.4/msgs/eo.msg
/usr/share/tk8.4/msgs/es.msg
/usr/share/tk8.4/msgs/es_ES.msg
/usr/share/tk8.4/msgs/fr.msg
/usr/share/tk8.4/msgs/it.msg
/usr/share/tk8.4/msgs/nl.msg
/usr/share/tk8.4/msgs/pl.msg
/usr/share/tk8.4/msgs/pt.msg
/usr/share/tk8.4/msgs/ru.msg
/usr/share/tk8.4/obsolete.tcl
/usr/share/tk8.4/optMenu.tcl
/usr/share/tk8.4/palette.tcl
/usr/share/tk8.4/panedwindow.tcl
/usr/share/tk8.4/prolog.ps
/usr/share/tk8.4/safetk.tcl
/usr/share/tk8.4/scale.tcl
/usr/share/tk8.4/scrlbar.tcl
/usr/share/tk8.4/spinbox.tcl
/usr/share/tk8.4/tclIndex
/usr/share/tk8.4/tearoff.tcl
/usr/share/tk8.4/text.tcl
/usr/share/tk8.4/tk.tcl
/usr/share/tk8.4/tkAppInit.c
/usr/share/tk8.4/tkfbox.tcl
/usr/share/tk8.4/unsupported.tcl
/usr/share/tk8.4/xmfbox.tcl
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:
Code:
$ rpm -ql tk | grep bin/
/usr/bin/wish
/usr/bin/wish8.4
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
raviteja_s
Member
 
Registered: Jun 2010
Location: India
Distribution: Redhat
Posts: 68

Rep: Reputation: 1
/var/lib/rpm

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

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

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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 PM.

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