티스토리 뷰

공부하자

Ubuntu 16.04 에 python 3.7.2 설치

Stanley마켓 K44 2019. 12. 3. 18:52

 

cd /tmp
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz


tar -xf Python-3.7.2.tar.xz
cd Python-3.7.2
./configure --prefix=/usr --enable-optimizations

make -j 4
sudo make altinstall

cd /usr/bin
sudo ln -sf /usr/local/bin/python3.7 python3
sudo ln -sf python3 python


python --version

 

(ref) https://websiteforstudents.com/installing-the-latest-python-3-7-on-ubuntu-16-04-18-04/

 

Installing the Latest Python 3.7 on Ubuntu 16.04 | 18.04 | Website for Students

Python, a general-purpose programming language which is versatile and popular can easily be installed on Ubuntu via multiple methods… This post shows students and new users how to manually install…

websiteforstudents.com

 

 

댓글
댓글쓰기 폼