在centOS系統中會自帶Python2.7的版本,如何刪除自帶的Python,改裝Python3.7
1.卸載自動Python
#rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps

刪除殘余文件
#whereis python |xargs rm -frv

驗證刪除
#whereis python

在centOS系統中會自帶Python2.7的版本,如何刪除自帶的Python,改裝Python3.7
1.卸載自動Python
#rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps

刪除殘余文件
#whereis python |xargs rm -frv

驗證刪除
#whereis python

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。