樹心幽徑

« 20191024用python來設計檔案內容讀取分析程式並分別在windows及linux下編修與執行 | Main | 20191029用rufus-3.8製作win10 USB安裝碟並安裝WINDOWS 10 »

20191026在Ubuntu LINUX 安裝python 3. 8.0
2019/10/26,12:51

REF 1:https://www.itread01.com/content/1545070623.html

(1)$ sudo apt-get install build-essential checkinstall

(2)$ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

(3)$ wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz

(4)$ tar xzf Python-3.8.0.tgz

(5)$ cd Python-3.8.0/

         $ ./configure --enable-optimizations

(6)$ sudo make altinstall

(7)$ python3.8
Python 3.8.0 (default, Oct 26 2019, 13:01:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

(8)$ python3.8 -V
Python 3.8.0

(9)$ python -V  (系統內建的舊版python)
Python 2.7.12

 

 

迴響

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType