- Feb 4, 2003
- 3,370
- 0
- 71
Say i install a program by downloading a .tar file or whatever and install from that. Can i still run apt-get remove packagename? If not, how would i uninstall the program?
Originally posted by: drag
Yes there is no automatic way to uninstall it if it installs from source.
However it's not usually hard to to figure out what to undo and delete when it comes to a software install. Check out programs like installwatch which you can use to make logs of file accesses by programs like 'make install' commands. Most everything you install will go into /usr/local directory and thus be easy to find, however every once and a while your going to run into stuff that tries to install into /usr/ for whatever reason.
Otherwise if you want to compile packages you can use deb-src packages to compile from source for whatever optimizations or patches you want to apply (which is relatively easy if you can figure out the documentation) or compile the software and learn how to build your own packages.
Building your own packages isn't as hard as it may seem at first.. since your only going to be doing it yourself you can make lots of assumptions that you wouldn't be able to get away with if your building for other people to use.
Originally posted by: Sureshot324
Originally posted by: drag
Yes there is no automatic way to uninstall it if it installs from source.
However it's not usually hard to to figure out what to undo and delete when it comes to a software install. Check out programs like installwatch which you can use to make logs of file accesses by programs like 'make install' commands. Most everything you install will go into /usr/local directory and thus be easy to find, however every once and a while your going to run into stuff that tries to install into /usr/ for whatever reason.
Otherwise if you want to compile packages you can use deb-src packages to compile from source for whatever optimizations or patches you want to apply (which is relatively easy if you can figure out the documentation) or compile the software and learn how to build your own packages.
Building your own packages isn't as hard as it may seem at first.. since your only going to be doing it yourself you can make lots of assumptions that you wouldn't be able to get away with if your building for other people to use.
Doesn't a lot of software but config files in /etc as well? I'll definatly check out install watch. If it can tell me every file and dir that was created during a make install, that's almost as good as having an auto uninstall. It just doesn't feel good to install software without knowing i can't easily remove all traces of it later.
So if i install a program from source with no make uninstall, there is no automatic way to uninstall it?
It just doesn't feel good to install software without knowing i can't easily remove all traces of it later.
Originally posted by: Nothinman
It just doesn't feel good to install software without knowing i can't easily remove all traces of it later.
Which is why I avoid installing things from source as much as possible, there's virtually no reason to do it these days. And if I have no other choice, I use ./configure options to put the whole thing inside of it's own directory (i.e. /usr/local/programname) so that I can just 'rm -rf' the thing later on.