Completely uninstall python for Ubuntu 14.04

This article is reproduced from: https://www.cnblogs.com/songfucai/p/7976623.html Author: husbandmen Please indicate the statement when reprinting.

1. Completely uninstall python 3.4 (software and related configuration)

sudo apt-get remove --purge python3.4

2. Completely uninstall python3.4 and its dependent software (use with caution! Here will delete python3.4 and the packages that depend on python3.4, generally the first command above is enough)

sudo apt-get remove --auto-remove python3.4
sudo apt-get purge --auto-remove python3.4

3. Clear the installation package of python3.4 and its dependent software

sudo apt-get autoclean python3.4

 

Notes:

This method is more thorough to uninstall python and is suitable for use when completely changing the python version.

——For children's shoes who want to uninstall python completely, but cannot accept that some python components cannot be used after complete uninstallation, please be careful! !

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324218410&siteId=291194637