LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   where are packages installed? (https://www.linuxquestions.org/questions/linux-general-1/where-are-packages-installed-166335/)

InTheWired 04-05-2004 04:02 AM

where are packages installed?
 
Hi obviously im completely new to linux

Ive just installed mandrake 9.2 and can't figure out where red carpet installs from a rpm??
I've also installed mono (.net project for Linux) and also can't figure out where its installed.

I've tried installing and receive the following output

[root@localhost rob]# rpm -Uvh rcd-2.0.2-0.ximian.7.11.i586.rpm
warning: rcd-2.0.2-0.ximian.7.11.i586.rpm: V3 DSA signature: NOKEY, key ID fd4fe9e9
Preparing... ########################################### [100%]
package rcd-2.0.2-0.ximian.7.11 is already installed

so its definately installed... just have no idea where !?

cheers for any help
Rob teh newb!

salparadise 04-05-2004 04:38 AM

well programs don't install like they do in windows where there is a program folder with all the bits in

you might try looking in /usr/bin
any program installed here will launch from the command line, just open a terminal, type the program name and hit enter

if this doesn't work
then
look in /usr/local or /usr/local/bin

open a terminal, su to root and type updatedb
this will build a database of all files and folders on the system
when it's finished exit from root mode
then type locate xxx (where xxx is program name) and you'll get a list of where all the instances are
if the output from this is too big, which is often the case, then type locate xxx | less
this will give you the results a page/screen at a a time, you then use the down arrow to scroll down the list

InTheWired 04-05-2004 05:11 AM

thats for that was a big help

well i found red carpet although now i cant figure out how to use it... is it meant to have a gui? i've found rcd under /usr/sbin although it says in man that its simply a backend daemon program used by a program "rug" although i can't find rug anywhere... meh i'll search around the web for details on running rcd

Anyways thanks for the help locate is DEFINATELY what ive been missing! :)

i was just assuming it would auto add the new program to my menu somewhere, i guess i do this myself

i also found that there is a switch when using rpm that allows me to override the default install location

salparadise 04-05-2004 05:53 AM

you don't really need red carpet with mandrake
urpmi is a lot better (imo), once you've pointed it at a few ftp locations

if you get stuck with red carpet

go to http://urpmi.org/easyurpmi/index.php

and follow the instructions

InTheWired 04-05-2004 08:12 AM

hmm ok i keep expecting that these package programs have some sort of interface... am i right in thinking that they don't? i've just located urpmi and its doesn't seem to have one either

Cheers for ya help
Rob

InTheWired 04-05-2004 08:23 AM

... mind you that link you provided (easy urpmi) generated a nice command which has resulted in urpmi downloading something.... so seems to be getting me somewhere in regards to updates :)

I just remember a while ago using redhat 7 it had a nice update program similar to windows update... is there something like this for someone like teh n00b i am? ;)

rob

salparadise 04-05-2004 08:38 AM

urpmi is a command line thing

but
once it's setup, you can go to Configuration>Packaging and explore the various options to be found there. (One of which is Mandrake Update.) In the Install Software part there is a "filter/sort by" drop down menu, one of the options will be "by package repositry" ( or something like that), this then shows you all the available sources of software so you can select the one you want.

Hope that makes sense.

InTheWired 04-05-2004 08:49 AM

ahh perfect thats exactly what i wanted...

damn was mandrake update always there or was it only after running urmpi? anyways i'd found the command "urmpi --auto-select" which used my local server
"www.planetmirror.com.au" to check for updates and returned a full list of everything... works perfectly!

all i REALLY want is to update kde

thanks for all ya help mate

slowely ill get there :)
Rob

pdug 04-05-2004 07:44 PM

Re: where are packages installed?
 
Quote:

Originally posted by InTheWired
[root@localhost rob]# rpm -Uvh rcd-2.0.2-0.ximian.7.11.i586.rpm
warning: rcd-2.0.2-0.ximian.7.11.i586.rpm: V3 DSA signature: NOKEY, key ID fd4fe9e9
Preparing... ########################################### [100%]
package rcd-2.0.2-0.ximian.7.11 is already installed

so its definately installed... just have no idea where !?

cheers for any help
Rob teh newb! [/B]
What about
rpm -qil rcd-2.0.2-0.ximian.7.11

InTheWired 04-05-2004 09:20 PM

pdug

what does "-qil" do differently?

i've actually found the error in my ways. Basically i double checked back with ximien and their download page. I stupidly didn't download all _three_ download packages...

1st was for rcd which is The Red Carpet Daemon (rcd) and so is just a background program. This is the package i installed

2nd The Red Carpet Graphical User Interface (red-carpet): this is needed for running the actual package installer GUI.

3rd is rug and command line interface to rcd (not what i want either) this is probably similar to the command line interface for urpmi

cheers for the help

pdug 04-08-2004 05:46 AM

"-qil" just helps with that question:
Quote:

so its definately installed... just have no idea where !?
rpm -ql PKGNAME list all files that belong to a package
rpm -qi PKGNAME list information about a package
rpm -qilf ABSOLUTE_FILENAME lists information and all files in the package the file ABSOLUTE_FILENAME belongs to
..


All times are GMT -5. The time now is 04:23 PM.