uninstall a manually compiled package in unix
I have installed imagemagick by downloading and compiling the source.how to correctly uninstall the ImageMagick that was manually 开发者_StackOverflow社区installed in order to installed rmagick gem. Is there something like "make uninstall".
There's no standard procedure.
Sometimes makefiles provide an uninstall
rule you can run in order to remove files installed by install
.
If Imagemagick doesn't provide any tool to uninstall itself you'll have to manually remove it by removing the files it installed.
Imagemagick provides standard uninstall procedure if you have compiled it from source.
1. cd source_dir
2. make uninstall
From docs:
make uninstall
Remove all files from the system which are (or would be) installed by sudo make install using the current configuration. Note that this target is imperfect for PerlMagick since Perl no longer supports an uninstall target.
精彩评论