在 CentOS 6 上安装 Python 2 & 3
来源:互联网 发布:异形1知乎 编辑:程序博客网 时间:2024/06/01 21:09
更新系统
yum -y update
安装开发工具
yum groupinstall -y development或者
yum groupinstall -y 'development tools'
安装以下工具
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
下载并安装 Python
wget https://www.python.org/ftp/python/x.y.z/Python-x.y.z.tgztar xzf Python-x.y.z.tgzcd Python-x.y.z./configure --prefix=/usr/localmakemake install或者
wget https://www.python.org/ftp/python/x.y.z/Python-x.y.z.tgztar xzf Python-x.y.z.tgzcd Python-x.y.z./configure --enable-shared --prefix=/home/pythonxyz LDFLAGS="-Wl,--rpath=/home/pythonxyz/lib" makemake install
阅读全文
0 0
- 在 CentOS 6 上安装 Python 2 & 3
- 在CentOS上安装Python
- python NLP工具 polyglot在centos 6 上安装
- 如何在CentOS 6上安装Python 2.7 + Ansible
- [Python]lxml在centos上安装失败
- [转]在CentOS上安装Python
- CentOS上安装Python
- 在Centos上安装python及其附属环境
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在CentOS 6.6 64bit上安装Python 3.5.0
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在Linux CentOS 上安装Python 2.7.9
- 在Linux CentOS 6.8上安装Python 2.7.12
- 在Linux CentOS 6.6上安装Python 2.7.9
- 在Linux CentOS 6.x上安装Python 2.7.9
- php语言下mysql的一些基本操作
- Windows 7(64位)caffe安装经历
- 1017. A除以B (20)
- C语言
- 【Spring】定时任务详解实例-@Scheduled
- 在 CentOS 6 上安装 Python 2 & 3
- 孤儿进程与僵尸进程[总结]
- C语言程序设计(46)
- 不同的二叉查找树
- 霍夫曼编码应用
- 深度解密 python challenge第4关之 小小的爬虫
- TensorFlow教程05:MNIST深度学习初探
- OpenCV 2.4.9 支持向量机(SVM)说明
- 强力Django 和杀手级xadmin