开发者

uninstall a manually compiled package in unix

开发者 https://www.devze.com 2023-02-06 04:13 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消