Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-14-2004, 08:44 PM   #1
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:

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, 09:53 PM   #2
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]
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.


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

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration