Home  >  Article  >  Backend Development  >  Can ubuntu uninstall python?

Can ubuntu uninstall python?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-12 09:51:563439browse

Can ubuntu uninstall python?

ubuntu can uninstall python. Here is an example to completely uninstall python for Ubuntu 14.04

Here is python3.4 as an example:

1. Completely uninstall python3.4 (software and related configuration)

sudo apt-get remove --purge python3.4

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

Related recommendations: "python video Tutorial

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

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

sudo apt-get
autoclean
python3.4

TIPS:

This method uninstalls python It is relatively thorough and suitable for use when completely changing the python version.

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

The above is the detailed content of Can ubuntu uninstall python?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn