LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing rpm's (https://www.linuxquestions.org/questions/linux-newbie-8/installing-rpms-207520/)

joepesci 07-20-2004 02:39 PM

installing rpm's
 
when i download an rpm file where does it install ?
i downloaded a video player mplayer, it is a rpm when i double click it, it does something but
there is no icon of the mplayer . where do i find the installation directory ' in windows it called program files'.
thanks

Tinkster 07-20-2004 03:09 PM

In Linux it's like this (even though ymmv with distro).
http://www.tldp.org/LDP/Linux-Filesy...tml/index.html

The easiest way for you to find out where it went
would be to query the rpm database.

rpm -ql `rpm -qa | grep <program name>`


Cheers,
Tink

tuxrules 07-20-2004 03:09 PM

Code:

# locate mplayer
will give you the installation directory of mplayer. I suggest you look at rpm command.

Code:

# man rpm
also try to google for man rpm keyword. Also here are few links you might want to check out to get around linux.

http://www.tldp.org/guides.html - excellent source for guides to getting around in linux.

http://www.linuxcommand.org

http://linux-newbie.sunsite.dk - Linux newbie administrator guide...very useful for newbie.

get a decent book for linux for a handy reference. Check out the book reviews section of LQ.

Hope this helps!

qwijibow 07-20-2004 03:10 PM

in linux its called '/'
when you double clicked it, did it install ? it shouldnt do, unless you were logged in as root (which is a big NO !)

you really should install rpms from command line.

use the command 'su -' to gain root privilages.
then rpm -Uvh /path/to/rpm ro install it.


All times are GMT -5. The time now is 06:12 PM.