您的位置:首页 > 运维架构 > Linux

How to uninstall/update/ your python in Linux

2017-11-10 18:10 501 查看
If you want to uninstall your python,input:

sudo apt-get remove python


if you want to install python3:

sudo apt-get install python3


but it just installs the python3.4,so if you want to update it to3.5:

sudo apt-get update && sudo apt-get install python3.5


if you want to check your python version:

python -V
python3 -V


if you want to check the path installed:

which python
which python3
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python uninstall