Click to See Complete Forum and Search --> : uninstalling .tar.gz files
Hermit
03-11-2001, 10:39 AM
I recently installed four .tar.gz files that I want to uninstall. I do not believe that any *make uninstall* file exists in the ones I want to remove. I think there is a command that will accomplish this, but for the life of me I cannot find it. It is my understanding that using this command, gets rid of ALL the .tar files in all the directories that they may have been installed in.
Appreciate the help!
Hermit
Shadoglare
03-11-2001, 10:47 AM
Personally I don't know of any such thing... tar.gz is basically just like .zip in the MS world, it'd be like keeping track of where pkzip uncompresses everything so you can delete it later.
.rpm, yeah... .deb, yeah... .tar.gz... as far as I know no.
Kadesh
03-11-2001, 11:00 AM
The "make uninstall" file is not a file. It's an option in the Makefile file that comes with the .tar.gz . Just go to the directory with the Makefile and run 'make uninstall'. Sometimes the option is there and sometimes it's not. If it's not, then the easiest way to get rid of it would be to delete any folder with the name of the app in /usr/share or /usr/local/share, get rid of any config files in /etc, and get rid of any binaries it uses in /usr/bin, /usr/sbin, /usr/local/bin, or /usr/local/sbin.
I suppose you could also whip up something that checks the time stamp on a file and if it was created when you installed the app (check the date on the binary?), removes it. I'm not real spiffy on my recursive bash scripting (since find doesn't display a time...) so I can't help here.