网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 服务器与数据库 > Linux
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Reply
 
Thread Tools Display Modes
  #1   IP: 76.164.216.30
Old 2016-05-28, 07:31 PM
Pahala Pahala is offline
初级会员
 
Join Date: 2010-11-20
Posts: 1
Pahala 现在声名狼藉
Default linux上编译安装python2.7.5

1. 下载python2.7.5,保存到 /data/qtongmon/software
http://www.python.org/ftp/python/

2. 解压文件
tar xvf Python-2.7.5.tar.bz2

3. 创建安装目录
mkdir /usr/local/python27

4. 安装python
./configure --prefix=/usr/local/python27
make
make install

5. 修改老版本的ln指向(注意:这里修改后,可能会影响yum的使用)
mv /usr/bin/python /usr/bin/python2.4.3
ln -s /usr/local/python27/bin/python /usr/bin/python
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:51 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.