centos6.8 安装 Python 2.7
来源:互联网 发布:网易邮箱服务器端口 编辑:程序博客网 时间:2024/06/05 12:44
rpm -ivh http://repo.webtatic.com/yum/el6/latest.rpm
rpm -ivh http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/ius/archive/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm
yum install python27 python27-devel python27-pip -y
mv /usr/bin/python /usr/bin/python2.6.6
ln -s /usr/bin/python2.7 /usr/bin/python
同理pip
mv /usr/bin/pip /usr/bin/pip2.6
ln -s /usr/bin/pip2.7 /usr/bin/pip
rpm -ivh http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/ius/archive/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm
yum install python27 python27-devel python27-pip -y
mv /usr/bin/python /usr/bin/python2.6.6
ln -s /usr/bin/python2.7 /usr/bin/python
同理pip
mv /usr/bin/pip /usr/bin/pip2.6
ln -s /usr/bin/pip2.7 /usr/bin/pip
阅读全文
0 0
- centos6.8 安装 Python 2.7
- CentOS6.5安装Python 2.7
- CentOS6.6安装Python-2.7.12
- CentOS6.5安装Python 2.7.10
- CentOS6.5(Python-2.7.12)安装Pip
- CentOS6.5 安装python
- 安装python,centos6.6
- 【python】centos6安装python3
- centos6 下安装MySQL-python
- centos6.4 python beautifulsoup安装
- centos6 下安装 Python 3.4
- centos6 下安装MySQL-python
- centos6.4 python beautifulsoup安装
- CentOS6.5 python+ipython安装
- centos6 下安装MySQL-python
- centos6.7安装新版本python
- centos6.5安装python-MySQLdb
- centos6.5 安装python 3
- web前端-客户端构建过程
- 字符串不可变特性
- GitHub客户端上传本地代码
- Shader学习案例三---屏幕特效之色彩调节
- 微信支付中遇见的问题修复
- centos6.8 安装 Python 2.7
- [算法题]用两个栈实现队列
- Eclipse安装字体样式风格包
- TextView的长按复制(高仿微信文字复制粘贴)
- 数组
- C语言编程的六个必备步骤
- 2017-06-22 Gbase8t Insert
- linux 安装FTP 设置ftp用户登入
- TP5 函数助手实例说明