update python version

This commit is contained in:
2024-06-27 22:33:56 +02:00
parent 04ff61f00a
commit 15aec007e3

View File

@@ -35,16 +35,16 @@ echo "LETS GO!"
sudo apt update sudo apt update
sudo apt -y upgrade sudo apt -y upgrade
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev -y sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev -y
wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz wget https://www.python.org/ftp/python/3.13.0/Python-3.13.0.tgz
tar -xf Python-3.11.4.tgz tar -xf Python-3.13.0.tgz
cd Python-3.11.4 cd Python-3.13.0
./configure --enable-optimizations ./configure --enable-optimizations
make -j $CPUCORES make -j $CPUCORES
sudo make altinstall sudo make altinstall
echo "" echo ""
echo "########################################" echo "########################################"
echo "" echo ""
echo "Python3.11.4 is installed" echo "Python 3.13.0 is installed"
echo "lets check this with: python3.11 --version" echo "lets check this with: python3.12 --version"
echo "" echo ""
echo "########################################" echo "########################################"