LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I uninstall something i installed with a make file. (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-uninstall-something-i-installed-with-a-make-file-589458/)

xidarian 10-04-2007 02:19 PM

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

The_JinJ 10-04-2007 02:57 PM

Run a
Code:

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

GrapefruiTgirl 10-04-2007 03:17 PM

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"

Brian1 10-04-2007 03:52 PM

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.

Brian


All times are GMT -5. The time now is 06:43 AM.