if you used pkg-tool to install it you can use the same tool to uninstall it, if you installed by compiling from source, well .. you are in more luck if you have a source tree available and the developer was nice enough to include uninstall target in Makefile- so in such a case run
make uninstall
in the source tree directory for this program;
Another case can be a hurdle to overcome if there is no uninstall or similar target - if the prog is simple enough removing its executable is sufficient; OTOH, if the prog is complex and it scattered files among different dirs then you've left with a choice either hunt every file it installed and modified, or just leave it as is removing only executable(s).
|