How to uninstall compiled and installed nginx?
ringa_lee
If the path during compilation is specified--prefix /usr/local/xxx 直接rm -rf /usr/local/xxx即可。没指定路径,那就到源码路径执行make uninstall。如果源码删了 自己到 /usr/bin /etc /usr/sbin /usr/libFind the relevant files and delete them manually
--prefix /usr/local/xxx
rm -rf /usr/local/xxx
make uninstall
/usr/bin
/etc
/usr/sbin
/usr/lib
If the path during compilation is specified
--prefix /usr/local/xxx
直接rm -rf /usr/local/xxx
即可。没指定路径,那就到源码路径执行
make uninstall
。如果源码删了 自己到
/usr/bin
/etc
/usr/sbin
/usr/lib
Find the relevant files and delete them manually