1.卸载python3.8

sudo apt-get remove python3.8
2.卸载python3.8以及它的依赖包

sudo apt-get remove --auto-remove python3.8
3.清除python3.8

要想清除python3.8的配置文件和数据文件,执行以下命令:

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