LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   delete compiled source (https://www.linuxquestions.org/questions/slackware-14/delete-compiled-source-59549/)

killi 05-13-2003 07:54 AM

delete compiled source
 
hi i compiled a source for mutella with ./configure make make install but
i want do unistall it

which command shall i use???

cheers

erling

Sfin 05-13-2003 08:11 AM

If you still have the folder that you used to install the program, then you can go to it, and use the command:

make uninstall

This will only work if the user has included a uninstall section in the Makefile.

killi 05-13-2003 08:19 AM

ok thx sfin

nakkaya 05-13-2003 08:22 PM

make uninstall does not work then you will need to read the Makefile to see where everything gets installed and delete by hand

killi 05-14-2003 12:06 AM

ok

Waldi 05-14-2003 02:45 AM

The best thing to do in the future is to use "checkinstall" instead of "make install", naturally after installing checkinstall package from Slack "extra" ftp directory. Checkinstall actually installs your compiled program and additionally creates yourprogram.tgz package (and installs it), so later removal of the program needs only "removepkg yourprogram.tgz". Couldn't be easier and you don't have to keep sources.

killi 05-14-2003 08:58 AM

ok

Kordell 05-15-2003 09:10 AM

You could also make your own package.
.configure
make
As root:
make install DESTDIR=/tmp/pkg
cd /tmp/pkg
makepkg -l y -c n ***.tgz
installpkg ***.tgz
then move the pkg(***.tgz) if you want to keep it and delete the other info from /tmp/pkg

The package will then be in Slack's package manager if you want to remove it later. You also can keep the saved package for future installs.

Good luck.........

killi 05-15-2003 09:21 AM

thx


All times are GMT -5. The time now is 01:12 AM.