Download your favorite Linux distribution at LQ ISO.
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 10-04-2007, 02:19 PM   #1
LQ Newbie
Registered: May 2007
Posts: 3

Rep: Reputation: 0
How do I uninstall something i installed with a make file.

I'm having trouble uninstalling OpenSer. I installed it from a make file and i tried make uninstall in the source directory, is there any other way i can uninstall it, i'm running CentOs5 without gui. and I installed openser 1.2.2 with tls
Old 10-04-2007, 02:57 PM   #2
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Run a
make uninstall
in the source directrory.

This will probably not work (!) as hardly any supply uninstall info.
You could run make again and examine the output to get a list of files/folders installed.
You could use -prefix on your make when installing (eg -prefix=/some/place/) so you know where it's installed, too late this time I guess
Could also check for a .directory the home of the user that ran the installed app - only works for some stuff but would give you file locations etc
Old 10-04-2007, 03:17 PM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
you could also use a little tool called 'trackinstall' which makes a record of the installation and any changes or files affected, and can be used to 'undo' the process.
Another common method is to first (or simultaneously) build the application into a package suitable for your distro, like an RPM or a DEB or a TGZ or whatever your distro uses. Then installing it with your package manager makes it easily removable.

Also, as the_jinj suggested above, sometimes the syntax of his suggestion is "make install --uninstall"
Old 10-04-2007, 03:52 PM   #4
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you have removed the orginal extracted directory you compiled then I think you have to go through the process of ./configure if that what you did before make and make install. Once ./configure is run then run make uninstall. If no go then the deveolpers probably never bothered configuring the make uninstall portion. Lost of ./configure and Makefiles are alike with just some changes.



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
How Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 09:27 PM
how to uninstall packages installed with make salemd Linux - Newbie 5 04-20-2006 10:24 PM
How to uninstall package installed with make install dhirsolo Linux - Software 3 07-29-2005 02:11 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
How do I uninstall a game that was installed from a .run file? Muscles Linux - Newbie 3 11-15-2003 03:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 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
Open Source Consulting | Domain Registration