LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need a command that shows installation directories. (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-a-command-that-shows-installation-directories-210413/)

Seqenenre 07-27-2004 08:28 PM

I need a command that shows installation directories.
 
I am new to Linux and I am currently using Red Hat 9.0 professional. I am trying to remove the version of Apache that comes in the distribution but I am unsure as to how I should proceed. I would very much like to know if there is a command or some kind of tool that will list the various files associated with a program and where they are located? The RPM command has a feature that does this, but is there one for apps built from source? Any information would be most appreciated. Thanks

Tinkster 07-27-2004 08:45 PM

The Makefile would be the safest bet, I guess ...


Cheers,
Tink

qwijibow 07-27-2004 10:01 PM

most often you can cd into the source code folder and give the command "make uninstall"

ryancoolest 07-27-2004 10:51 PM

If ever you install it by package RPM can I still use the "make clean" or "make uninstall" command..???:confused: :confused: :confused:

amosf 07-27-2004 10:57 PM

If it's a binary rpm you use rpm -e to remove it...

ryancoolest 07-27-2004 11:23 PM

Well, I did this...
Quote:

[root@ryan Installers]# rpm -i rh9.ymessenger-1.0.4-1.i386.rpm
package ymessenger-1.0.4-1 is already installed
[root@ryan Installers]# rpm -e rh9.ymessenger-1.0.4-1.i386.rpm
error: package rh9.ymessenger-1.0.4-1.i386.rpm is not installed

amosf 07-27-2004 11:49 PM

Just use the actual package name. It will be something like:

rpm -e rh9.ymessenger

ryancoolest 07-28-2004 12:56 AM

I actually did that and same things happen...

[root@ryan Installers]# rpm -e rh9.ymessenger-1.0.4-1.i386.rpm
error: package rh9.ymessenger-1.0.4-1.i386.rpm is not installed
[root@ryan Installers]#

amosf 07-28-2004 01:07 AM

Ah, did you actually try it without the version number?

If you can't figure the name then maybe you can use a gui rpm tool to find th package...

ryancoolest 07-28-2004 03:26 AM

I'm using mandrake... how can use the GUI RPM???

amosf 07-28-2004 07:24 AM

Mandrake control center has a packages setup. Go to the uninstall section and see if you see the package in there...

ryancoolest 07-28-2004 09:30 PM

Quote:

Originally posted by amosf
Mandrake control center has a packages setup. Go to the uninstall section and see if you see the package in there...
Got it Thanks amosf


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