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 |
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. |
ok thx sfin
|
make uninstall does not work then you will need to read the Makefile to see where everything gets installed and delete by hand
|
ok
|
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.
|
ok
|
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......... |
thx
|
All times are GMT -5. The time now is 01:12 AM. |