mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-18 22:33:50 +02:00
update python version
This commit is contained in:
@@ -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 "########################################"
|
||||||
Reference in New Issue
Block a user