redhat 5.0 python2.4升级到2.7
2016-05-27 15:59
471 查看
1)安装devtoolset yum groupinstall "Development tools" 2)安装编译Python需要的包包 yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel 3)下载并解压Python 2.7.9的源代码 mkdir soft cd soft wget --no-check-certificate https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz //https://www.python.org/ftp/python/2.7.9/ tar -xzvf Python-2.7.9.tgz cd Python-2.7.9 4)编译与安装Python 2.7.9 ./configure --prefix=/usr/local make && make altinstall
相关文章推荐
- 字符串学习3
- Python set
- Python list vs set
- python int convert string and vice versa
- python 包pandas的学习之路(-)
- Python+OpenCV进行视频中人脸检测
- 想涨工资吗?那就学习Scala,Golang或Python吧
- 想涨工资吗?那就学习Scala,Golang或Python吧
- Python 中的isinstance函数
- 141. Linked List Cycle [easy] (Python)
- Python StringIO与cStringIO
- python PDB调试
- python入门(一)
- Python中的 isdigit()方法
- python 发送邮件实例
- Python模块导入
- Python学习备忘1
- Python in Ubuntu Environment
- python的map和reduce函数
- python 正则表达式