반응형

다운로드 : http://www.python.org
2.7.3 설치 :
# cd /usr/local/src
# wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
# tar zxvfp Python-2.7.13.tgz

# cd Python-2.7.13
# ./configure --prefix=/usr/local/python-2.7.13
# make && make install
# echo "export PATH=\$PATH:/usr/local/python-2.7.13/bin/" >> /etc/profile
# source /etc/profile
# which python2.7
/usr/local/python-2.7.3/bin/python2.7

 

3.6.2 설치 : 
# cd /usr/local/src
# wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tgz
# tar zxvfp Python-3.6.2.tgz
# cd Python-3.6.2/
# ./configure --prefix=/BiO/apps/python-3.6.2

# ./configure --enable-optimizations
# make -j 10 && make install
# echo "export PATH=\$PATH:/usr/local/python-3.6.2/bin/" >> /etc/profile
# source /etc/profile
# which python3.6
/usr/local/python-3.6.2/bin/python3.6

 

3.7.4 설치 : 

# yum install libffi-devel

# cd /usr/local/src
# wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz

# cd Python-3.7.4/

# ./configure --prefix=/BiO/apps/python-3.7.4 --enable-optimizations

# make -j 28 altinstall

# /BiO/apps/python-3.7.4/bin/python3.7 --version
Python 3.7.4

반응형

'Lang_Development > Python' 카테고리의 다른 글

[Python] numpy & scipy  (0) 2014.01.09
PIP 설치  (0) 2012.10.31
설치된 Python 패키지 및 모듈 확인  (0) 2012.06.07
Biopython 설치  (0) 2012.06.06
easy_install 설치  (0) 2012.06.06
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기