mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-16 21:33:49 +02:00
update on current version
tested on debian 12 vm
This commit is contained in:
@@ -11,7 +11,7 @@ echo "$VERSION"
|
|||||||
echo "################################################"
|
echo "################################################"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "# Python3.9.2 #"
|
echo "# Python3.11.4 #"
|
||||||
echo "# Quick Build #"
|
echo "# Quick Build #"
|
||||||
echo "# #"
|
echo "# #"
|
||||||
echo "# by #"
|
echo "# by #"
|
||||||
@@ -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.9.9/Python-3.9.9.tgz
|
wget https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz
|
||||||
tar -xf Python-3.9.9.tgz
|
tar -xf Python-3.11.4.tgz
|
||||||
cd Python-3.9.9
|
cd Python-3.11.4
|
||||||
./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.9 is installed"
|
echo "Python3.11.4 is installed"
|
||||||
echo "lets check this with: python3.9 --version"
|
echo "lets check this with: python3.11 --version"
|
||||||
echo ""
|
echo ""
|
||||||
echo "########################################"
|
echo "########################################"
|
||||||
Reference in New Issue
Block a user