ubuntu安装python3.8
使用命令下载python3.8.2版本安装包wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
解决python3.8.2安装包tar xzvf Python-3.8.2.tgz
进入解压目录cd Python-3.8.2/
./configure
make
make install
查看python的软连接:>>> ls -l /usr/bin | grep python
-rwxr-xr-x 1 root root 1056 Apr 16 2018 dh_python2
lrwxrwxrwx 1 root root 23 Oct 8 01:39 pdb2.7 -> ../lib/python2.7/pdb.py
lrwxrwxrwx 1 root root 23 Oct 7 20:59 pdb3.6 -> ../lib/python3.6/pdb.py
lrwxrwxrwx 1 root root 23 Oct 29 00:14 pdb3.8 -> ../lib/python3.8/pdb.py
lrwxrwxrwx 1 root root 31 Oct 25 2018 py3versions -> ../share/python3/py3versions.py
lrwxrwxrwx 1 root root 9 Apr 16 2018 python -> python2.7
lrwxrwxrwx 1 root root 9 Apr 16 2018 python2 -> python2.7
-rwxr-xr-x 1 root root 3641704 Oct 8 01:39 python2.7
lrwxrwxrwx 1 root root 33 Oct 8 01:39 python2.7-config -> x86_64-lin