upgrade python to 3.9.8 with shared libs
rodzic
779fc8d105
commit
93f0940052
|
@ -33,10 +33,10 @@ apt-get update $1
|
|||
apt-get upgrade $1
|
||||
#<-- install python 3.9
|
||||
apt-get install $1 build-essential liblzma-dev zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev python-tk python3-tk tk-dev
|
||||
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
|
||||
tar -xf Python-3.9.6.tgz
|
||||
cd Python-3.9.6
|
||||
./configure --enable-optimizations
|
||||
wget https://www.python.org/ftp/python/3.9.8/Python-3.9.8.tgz
|
||||
tar -xf Python-3.9.8.tgz
|
||||
cd Python-3.9.8
|
||||
./configure --prefix=/usr --enable-shared --with-ensurepip=yes --enable-optimizations
|
||||
make -j 2
|
||||
make install
|
||||
#-->
|
||||
|
|
Ładowanie…
Reference in New Issue