如何在centos7中完全卸载Python3

如何在centos7中完全卸载Python3?根据查到的资料,主要就是卸载,然后删除一些软连接删除干净,逻辑很简单,贴一些具体的操作代码,记录下来 。

卸载Python3的步骤

#卸载python3
rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps

#删除所有残余文件
whereis python3 |xargs rm -frv

#查看现有安装的python,验证是否删除干净
whereis python

本文来自博客园,作者:张飞的猪,转载请注明原文链接:https://www.cnblogs.com/the-pig-of-zf/p/15952129.html

[TencentCloudSDKException] code:FailedOperation.ServiceIsolate message:service is stopped due to arrears, please recharge your account in Tencent Cloud requestId:9de424b7-8125-4f68-a56d-1746fc387695

[En]

[TencentCloudSDKException] code:FailedOperation.ServiceIsolate message:service is stopped due to arrears, please recharge your account in Tencent Cloud requestId:ae6c400e-dbfe-4d74-8521-8f13f9e94540

个人网站”张飞的猪编程工作室”链接: https://zhangfeidezhu.com

Original: https://www.cnblogs.com/the-pig-of-zf/p/15952129.html
Author: 张飞的猪
Title: 如何在centos7中完全卸载Python3

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/561903/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球