LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-27-2004, 08:28 PM   #1
Seqenenre
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Question 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
 
Old 07-27-2004, 08:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The Makefile would be the safest bet, I guess ...


Cheers,
Tink
 
Old 07-27-2004, 10:01 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
most often you can cd into the source code folder and give the command "make uninstall"
 
Old 07-27-2004, 10:51 PM   #4
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
If ever you install it by package RPM can I still use the "make clean" or "make uninstall" command..???
 
Old 07-27-2004, 10:57 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
If it's a binary rpm you use rpm -e to remove it...
 
Old 07-27-2004, 11:23 PM   #6
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
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
 
Old 07-27-2004, 11:49 PM   #7
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

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

rpm -e rh9.ymessenger
 
Old 07-28-2004, 12:56 AM   #8
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
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]#
 
Old 07-28-2004, 01:07 AM   #9
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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...
 
Old 07-28-2004, 03:26 AM   #10
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
I'm using mandrake... how can use the GUI RPM???
 
Old 07-28-2004, 07:24 AM   #11
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Mandrake control center has a packages setup. Go to the uninstall section and see if you see the package in there...
 
Old 07-28-2004, 09:30 PM   #12
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
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
 
  


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
single command that shows the entire pc configurations marsguy Linux - Hardware 4 04-13-2005 09:21 AM
who command shows me and root??????? dimgr Linux - Security 1 10-15-2004 11:22 AM
df command shows wrong information vdemuth Mandriva 3 06-04-2004 02:30 AM
who command shows dead consoles grittkmg Linux - General 1 01-08-2004 09:22 PM
finger command shows never logged on...but its not true falconxlc Linux - General 4 12-09-2002 10:26 AM

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

All times are GMT -5. The time now is 10:57 AM.

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