LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09: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, 09:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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


Cheers,
Tink
 
Old 07-27-2004, 11: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, 11: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, 11: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-28-2004, 12:23 AM   #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-28-2004, 12:49 AM   #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, 01: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, 02: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, 04: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, 08: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, 10: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


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


All times are GMT -5. The time now is 10:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration