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
|
Run a
Code:
make uninstall 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 |
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" |
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. |