Update Python (#70)

* Update Python to 3.9.1
This commit is contained in:
Luka Barbić 2021-02-03 22:33:52 +01:00 committed by GitHub
parent 0f8350b6da
commit 7a8309553b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -37,17 +37,17 @@ echo 'export PATH=$PATH:/opt/python2/Python-2.7.17' >> /opt/.profile
source /opt/.profile source /opt/.profile
# install python3 # install python3
# final binary: /opt/python3/Python-3.8.2/python # final binary: /opt/python3/Python-3.9.1/python
# get version: /opt/python3/Python-3.8.2/python -V # get version: /opt/python3/Python-3.9.1/python -V
cd /opt && mkdir python3 && cd python3 cd /opt && mkdir python3 && cd python3
wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tar.xz
unxz Python-3.8.2.tar.xz unxz Python-3.9.1.tar.xz
tar -xf Python-3.8.2.tar tar -xf Python-3.9.1.tar
cd Python-3.8.2 cd Python-3.9.1
./configure ./configure
make make
ln -s python python3.8 ln -s python python3.9
echo 'export PATH=$PATH:/opt/python3/Python-3.8.2' >> /opt/.profile echo 'export PATH=$PATH:/opt/python3/Python-3.9.1' >> /opt/.profile
source /opt/.profile source /opt/.profile
# install paradoc # install paradoc