简体   繁体   中英

Uninstall Python3.3.4 (previously installed via source code)

How can I uninstall Python3.3.4 previously installed via source code? 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.

I'd go for something unsubtle like

sudo rm -rf /opt/python3.3.4

assuming that's where Python was actually installed. But this looks unnatural, because why would anybody ever want to uninstall Python?

Also, if you have modified your PATH settings and the like you will have to undo those effect manually.

您可以删除目录:

sudo rm -ri /opt/python3.3.4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM