[英]Uninstall Python3.3.4 (previously installed via source code)
How can I uninstall Python3.3.4 previously installed via source code?如何卸载以前通过源代码安装的Python3.3.4? During the installation I made:
在安装过程中我做了:
./configure --prefix=/opt/python3.3.4
make
sudo make install
I tried sudo make uninstall
and make unistall
, but nothing happened.我试过
sudo make uninstall
和make unistall
,但什么也没发生。
I'd go for something unsubtle like我会去做一些不微妙的事情,比如
sudo rm -rf /opt/python3.3.4
assuming that's where Python was actually installed.假设这就是实际安装 Python 的地方。 But this looks unnatural, because why would anybody ever want to uninstall Python?
但这看起来不自然,因为为什么会有人想要卸载 Python?
Also, if you have modified your PATH settings and the like you will have to undo those effect manually.此外,如果您修改了 PATH 设置等,则必须手动撤消这些影响。
您可以删除目录:
sudo rm -ri /opt/python3.3.4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.