mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-09 09:53:47 +02:00
update python version
This commit is contained in:
@@ -35,16 +35,16 @@ echo "LETS GO!"
|
||||
sudo apt update
|
||||
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
|
||||
wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz
|
||||
tar -xf Python-3.11.4.tgz
|
||||
cd Python-3.11.4
|
||||
wget https://www.python.org/ftp/python/3.13.0/Python-3.13.0.tgz
|
||||
tar -xf Python-3.13.0.tgz
|
||||
cd Python-3.13.0
|
||||
./configure --enable-optimizations
|
||||
make -j $CPUCORES
|
||||
sudo make altinstall
|
||||
echo ""
|
||||
echo "########################################"
|
||||
echo ""
|
||||
echo "Python3.11.4 is installed"
|
||||
echo "lets check this with: python3.11 --version"
|
||||
echo "Python 3.13.0 is installed"
|
||||
echo "lets check this with: python3.12 --version"
|
||||
echo ""
|
||||
echo "########################################"
|
||||
Reference in New Issue
Block a user