CentOS部署软件and so on……

CentOS各版本系统下载

CentOS下载地址:http://archive.kernel.org/centos-vault/

好用的centos上传下载软件:yum install lrzsz -y         (rz上传   sz下载)

 

CentOS安装python3.7.2:

1、安装依赖包

yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel

2、下载python源码包

wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz

3、解压

tar -zxvf Python-3.7.2.tgz

4、进入解压的文件夹编译

cd Python-3.7.2

./configure

5、make安装

make && make install

6、现在终端直接输入python3 即可进入python3.7.2的控制台

 

CentOS卸载python3.7:

1、卸载pyhton3
rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps
2、删除所有残余文件
whereis python3 |xargs rm -frv
3、查看现有安装的python
whereis python

 

 

centos6.5下python2.6升级到python3.3:http://blog.csdn.net/harith/article/details/17538233

你可能感兴趣的:(CentOS部署软件and so on……)