1. Python 3.4.2 다운로드
2. 압축풀기
3. Make
4. Document Download 시 Root 권한으로
5. Configuringuring
[출처] http://www.linuxfromscratch.org/blfs/view/svn/general/python3.html
sudo apt-get install wget wget http://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz
2. 압축풀기
xz -d Python-3.4.2.tar.xz tar -xf Python-3.4.2.tar.xz
3. Make
CXX="/usr/bin/g++" \Root 권한으로
./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--without-ensurepip &&
make
make install &&
chmod -v 755 /usr/lib/libpython3.4m.so &&
chmod -v 755 /usr/lib/libpython3.so
4. Document Download 시 Root 권한으로
install -v -dm755 /usr/share/doc/python-3.4.2/html &&
tar --strip-components=1 \
--no-same-owner \
--no-same-permissions \
-C /usr/share/doc/python-3.4.2/html \
-xvf ../python-3.4.2-docs-html.tar.bz2
5. Configuringuring
export PYTHONDOCS=/usr/share/doc/python-3.4.2/html
[출처] http://www.linuxfromscratch.org/blfs/view/svn/general/python3.html
'Linux' 카테고리의 다른 글
Install Python 3.4.2 (0) | 2015.02.04 |
---|---|
리눅스 압축 / 압축 해제 (zip, tar, tar.gz, tar.bz2) (0) | 2015.01.06 |
리듬박스에서 한글 제목.태그 보이기 (0) | 2014.12.22 |
리눅스에서 나눔고딕 설치 (0) | 2014.12.20 |
Alias 설정 - Bash를 이용한 쉘 스크립팅 (0) | 2014.12.18 |