PythonInstalling Python3 on CentOS 6
2016 · 02 · 12
1 min read
Paper
Contents
Command line to install 3.5.1 on centos 6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| yum install zlib-devel -y
yum install openssl openssl-devel -y
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz
xz -d Python-3.5.1.tar.xz
# 혹시 xz가 없다면 yum install xz 로 설치 하라.
tar -xvf Python-3.5.1.tar
cd Python-3.5.1
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall
# pip설치
curl -k -O https://bootstrap.pypa.io/get-pip.py
python3.5 get-pip.py
|
Python seems good for simple programs. With java, even setting up a project is a hassle…