Centos install Python2.7

#get python2.7
wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz

#install python
tar zxvf Python-2.7.9.tgz
cd Python-2.7.9
./configure
make
make install
cd ..
rm -rf Python*

时间: 2024-10-11 13:36:10

Centos install Python2.7的相关文章

centos 7 python2.7.5升级到3.5.2

centos 7 python2.7.5升级到3.5.2 系统 centos 7 软件包 python3.5.2    下载:wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz 查看原有原有软件包 [[email protected] ~]# python  -V Python 2.7.5 创建Python-3.5.2的安装目录 [[email protected] ~]# mkdir /usr/local/python3.

Centos——升级Python2.7及安装pip

CentOS升级Python2.7及安装pip 1) 升级Python2.7 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 python -V  # 查看版本:Python 2.6.6 mkdir -p ~/Env/python; cd ~/Env/python  # 创建个目录 wget --no-check-certificate https://www.pyt

CentOS升级Python2.7及安装pip

body { font-family: "Microsoft YaHei UI","Microsoft YaHei",SimSun,"Segoe UI",Tahoma,Helvetica,Sans-Serif,"Microsoft YaHei", Georgia,Helvetica,Arial,sans-serif,宋体, PMingLiU,serif; font-size: 10.5pt; line-height: 1.5;

CentOS install Desktop and Remotely access 远程管理Centos桌面 TigerVNC

Centos 安装完毕,但是通过windows 远程管理桌面: 当然我们可以通过secureCRT工具连接命令行,但是我希望通过windows 连接他们的远程桌面: 首先我们的保证 X windows等桌面环境安装成功: yum groupinstall -y "Desktop"   "Desktop Platform"   "Desktop Platform Development" "Fonts" "Genera

centos默认python2.6升级到python2.7,并用pip方式安装python工具包。

centos安装默认python2.6升级为python2.7,并解决python工具包安装的各种问题. 思路指导:升级2.7不能用yum安装python工具包.建议用pip 1.更新指令 yum -y update yum groupinstall -y 'development tools' 2.另外还需要安装 python 工具需要的额外软件包 SSL, bz2, zlib yum install -y zlib-devel bzip2-devel openssl-devel xz-lib

centos默认python2.6升级2.7

1.centos上的python默认为python2.6.6需要升级为2.7.*首先在python官网上下载正确的版本.然后需要安装常用的组件 解压python安装包计入python目录后执行编译命令 ./configure Make all Make install Make clean Make distclean 编译安装完成后需要把原来的python2.6.6用mv注释到一边 mv/usr/bin/python /usr/bin/python2.6.6 然后需要给刚安装的python2.

centos安装python2.7.8,并且设置yum不失效

安装前安装依赖包: yum groupinstall "Development tools"yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel wget --no-check-certificate https://www.python.org/ftp/

CentOS安装python-2.7+安装pip-10.0.0

注:以下所有操作均在CentOS 6.8 x86_64位系统下完成. 首先查看当前系统预装的python版本: # whereis python python2: /usr/bin/python2 /usr/bin/python2.6 /usr/lib/python2.6 /usr/lib64/python2.6 /usr/include/python2.6 # pthyon --version Python 2.6.6 # cd /usr/bin # ls -l python* -rwxr-x

centos安装python2.7

---恢复内容开始--- centos6.5 自带python2.6,因工作需要,另装python2.7,参考网上资料,整理如下 1.sudo yum install gcc gcc-c++ 2.wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz 3.xz -d Python-2.7.8.tar.xz tar Python-2.7.8.tar cd Python-2.7.8 4../configure --prefix