LinuxQuestions.org
Help answer threads with 0 replies.
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 04-05-2004, 11:02 PM   #1
Sporndog
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
RPMS get installed where?


i just installed a few proggrams with RPMs and cant find out where they got installed. im sure it something really simple.
 
Old 04-05-2004, 11:03 PM   #2
tomank
Member
 
Registered: Apr 2004
Distribution: rh9
Posts: 50

Rep: Reputation: 15
/usr normally - depends on who you were logged on as
 
Old 04-05-2004, 11:35 PM   #3
InTheWired
LQ Newbie
 
Registered: Apr 2004
Location: Sydney, Australia
Distribution: Mandrake
Posts: 29

Rep: Reputation: 15
i had this exact problem a few days ago basically the packages can install in many places commonly /usr/local/ also /usr/bin and /usr/sbin. You can manuall set their install location but you don't REALLY need too...

The easiest way i found to locate installs either from packages or make install is first to run as su "updatedb" which create a fresh database of all files on your machine (although this runs auto every 24 hours(?) ) after updatedb you can use "locate <filename>". Once you've found the file simply call it using the full path or navigate to its install directory.

Hope that helps?
 
Old 04-05-2004, 11:47 PM   #4
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
unlike windows, programs in linux are installed all over the place. Files of a particular type are located in standard places. For example library files will be locted in the lib directories and binary files will be in /bin or /sbin or /usr/local/sbin. The important thing to note is that files are installed all over the sytem not in one place like windows.

You can find out which files belong to a particular rpm package by typeing the following in a terminal

rpm -ql thePackageName

replacing thePackageName with the one of the rpm file you installed. This tells rpm to query (q) the package with name thePackageName and list (l) all the files associated with the package.

rpm -ql httpd

So this will list all the files that belong to the package httpd (ie the web server)

-jax
 
Old 04-06-2004, 12:28 AM   #5
InTheWired
LQ Newbie
 
Registered: Apr 2004
Location: Sydney, Australia
Distribution: Mandrake
Posts: 29

Rep: Reputation: 15
jax8

im just curious what lib files _actually_ are? Im found that bin and sbin are just runable files for either all users or su (sbin). Are lib files similar to dlls in windows?
 
Old 04-06-2004, 01:01 AM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
yes.

lib stands for library.
bin stands for binary.
sbin stands for superuser binaries.

Like the name suggests the library files are like resources you have access to and can use when it is convinient.

You can use the same library file for a number of applications like dll files. The linux kernel has a heaps of library files that allow access to the file system such as saving files etc. If you have done any C programmming you would have included files into you program such as stdin.h or something like that. Including this file will give you access to function defined in those files.

Last edited by jax8; 04-06-2004 at 01:03 AM.
 
Old 04-06-2004, 01:14 AM   #7
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
Talking

p

Last edited by jax8; 04-06-2004 at 01:16 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
List installed RPMs radam Linux - Software 4 07-21-2004 02:05 PM
Oops! I installed corrupt RPMs amOrpheus Linux - Newbie 3 01-01-2004 04:38 PM
where are RPMS installed? falconfighter Linux - Newbie 1 12-20-2003 10:28 AM
Where to find my installed rpms in Mandrake 9.1? Spica Linux - Newbie 15 08-21-2003 08:53 AM
RPMs Already Installed Parksy Linux - Newbie 6 08-10-2003 04:39 PM


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

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