How do you uninstall compiled programs?
Is there a command to remove a certain program after you compiled it from source?
make uninstall is not present in every source/program out there + you can't really store the source directory forever. |
When compiling from source, I do not recommend issuing "make install". There is not always option to remove the program afterwards. You'd better make Slackware packages. You can use Slackbuild scripts ( from slackbuilds.og or slacky.eu for instance), gnashley's src2pkg (trackinstall) or checkinstall. After you create a slckware package in this way, you install it via installpkg and then you can remove it by removepkg.
|
That's why it's best to create a tgz package and install that. Then you can easily remove it with standard tools. Many options exist to create packages. A recent thread discussing this is at http://www.linuxquestions.org/questi...d.php?t=567104.
Brian |
Didn't know this. Thanks. I'll give SLackbuilds and slk2pkg a look.
|
I tested src2pkg on a random source.tar.gz and got this error:
Quote:
http://www.talug.org/howto/Steps_to_...k_package.html Seems basic and efficient. EDIT: worked nicely... i'll definately be using this. |
maybe the package is installed via a command, different from "make install". The installation command is supplied to src2pkg or trackinstall via -i="installation-command". See the INSTALL file of the package and the src2pkg documentation. I usually unpack and configure the package manually, then I compile it and just after that login as root and run trackinstall.
|
All times are GMT -5. The time now is 01:19 PM. |