LinuxQuestions.org
Review your favorite Linux distribution.
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 06-14-2004, 07:44 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
Uninstall package after compile?


Can you uninstall something after you:

./configure
make
make install

I screwed up and tried to install mysql with --prefix=/user/local/mysql instead of /usr/local/mysql. After I installed it, I realized what I had done but I don't know how to remove it.

I thought that if I just recompiled/reinstalled it and deleted the /user directory it would work, but that's not the case. Somewhere it's trying to find the /user directory. I see it when I try to run 'mysql_safe &'.

Any help would be great... I'm using Redhat 9.
 
Old 06-14-2004, 08:53 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
most packages don't seem to have uninstall make rules (lazy programmers? no offence!), but try it anyway:

cd [source directory]
su
[password]
make uninstall

otherwise you will have to do it manually, usually look in /usr/local for the installed program (dont delete anything you are not 100% sure about though). You usually can see which files are copied where during the "make install" stage, just scroll through the messages straight after the install is done.
 
  


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
Uninstall Linux Package Orac Linux - Software 5 10-25-2005 09:14 PM
Uninstall a python package danesp Linux - Newbie 8 06-01-2005 11:25 PM
How to Uninstall _One_ Package LynxDK Debian 2 02-27-2005 04:15 AM
UNinstall MySQL all package treotan Fedora 3 02-12-2005 11:59 AM
RH 8.0 package uninstall Sargek Linux - Software 5 01-05-2003 10:37 AM

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

All times are GMT -5. The time now is 02:34 PM.

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