python 3.9.1 -> 3.9.6
rodzic
ef068cb3d2
commit
b83e586166
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# custom mx linux 19.3 configuration
|
||||
# run as: sudo mx-19.3.sh -y
|
||||
# custom mx linux 19.4 configuration
|
||||
# run as: sudo mx-19.4.sh -y
|
||||
apt-get install software-properties-common
|
||||
apt-get update $1
|
||||
echo 'deb http://deb.debian.org/debian experimental main' | sudo tee /etc/apt/sources.list.d/experimental.list
|
||||
|
@ -27,10 +27,10 @@ echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg]
|
|||
apt-get update $1
|
||||
apt-get upgrade $1
|
||||
#<-- install python 3.9
|
||||
apt-get install $1 build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev
|
||||
wget https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz
|
||||
tar -xf Python-3.9.1.tgz
|
||||
cd Python-3.9.1
|
||||
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
|
||||
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
|
||||
make -j 2
|
||||
make install
|
||||
|
|
Ładowanie…
Reference in New Issue