Click to See Complete Forum and Search --> : General Ques: removing binaries


groovnmike
10-27-2003, 12:42 PM
Hi forum,

I come from more of a BSD background where I just use ports to manage all of my installed programs. Now working with linux a bit more, I was just wondering how I can uninstall binaries installed with the method:

# tar xzvf file.tar.gz
# ./configure
# make
# make install

would I have to manually remove all the installed files?

what if I merely wanted to upgrade to the latest version?

I use rpm's alot and it seems very handy, but sometimes the only way i can get somethign to work is by using the above method.

thanks

Hayl
10-27-2003, 01:04 PM
make uninstall (if the developer was nice enough to make an uninstall script)

you can either uninstall first then install the latest or install over top in many cases.

Most decent apps have a readme file or install file with more info.

ph34r
10-27-2003, 01:11 PM
When I do the ./configure, I typically do

./configure --preifix=/usr/local/AppName

Then it installs all to that directory. Then I just symlink the appropriate parts to /usr/local/[lib|bin|foo]

APwrs
10-27-2003, 01:45 PM
When I compile something from source, I use the CheckInstall program.

http://asic-linux.com.mx/~izto/checkinstall/index.php

This is all explained on the homepage, but basically, whenever you do the install portion of compiling a program, CheckInstall keeps track of where all the files are put, and then creates either a Slackware, RPM, or Debian package (your choice). Later, if you want to remove the program from your computer, all you have to do is remove the package using your favorite package management program (personally I use KPackage). It's really simple, and really handy.