ubuntu unstall python3
时间: 2023-07-05 19:04:24 浏览: 92
total unstall
3星 · 编辑精心推荐
To uninstall Python3 on Ubuntu, you can follow the steps below:
1. Open a terminal window.
2. Type the following command to remove Python3 and its dependent packages:
```
sudo apt-get remove python3
```
3. Press "Y" when prompted to confirm the uninstallation.
4. After the uninstallation is complete, you can also remove any residual files and dependencies with the following command:
```
sudo apt-get autoremove
```
5. Finally, you can verify that Python3 has been uninstalled by typing the following command:
```
python3 --version
```
If Python3 is not installed, you will see an error message.
阅读全文