how to uninstalling software that was installed from source

1 reply [Last post]
Joined: 2011/11/02

Many times I find myself installing from source, sometimes this is only to check a program out to see if I want to use it or not, or other times I replace the programs with better ones I have just recently found. Many programs though do not offer an uninstall when you install from source. A solution is available though I would suggest the use of a program called "checkinstall". This program must be installed before you install the programs from source though so if it already on your system this won't help but will be useful for future programs you install. Use is quite simple as after you have the program you want to install go ahead and do your ./configure and your make. Now instead of using our typical "make install" command we will use the command "checkinstall". Now to remove the package just use.
removepkg "packagename"

hope this is useful for some of you.