Can ubuntu uninstall python?

爱喝马黛茶的安东尼
Release: 2019-06-20 09:20:50
Original
3264 people have browsed it

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
Copy after login

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
Copy after login

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

sudo apt-get autoclean python3.4
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!