remember to check python dot org to see the latest version! write it down and change the PV= command accordingly! (it exports an environment variable)
sudo apt update
py
python
python3
df -h /
sudo apt-get update
sudo apt install -y wget curl
sudo apt install -y openssl libssl-dev
sudo apt install -y build-essential zlib1g-dev libncurses5-dev
sudo apt install -y libgdbm-dev libnss3-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev
cd /opt
PV=3.10.4
sudo wget https://www.python.org/ftp/python/$PV...
sudo tar xzvf Python-$PV.tgz
cd Python-3.10.4/
./configure --enable-optimizations
make
sudo make altinstall
On this page of the site you can watch the video online Tutorial on Installing Python for Linux with a duration of hours minute second in good quality, which was uploaded by the user Jacques Fleischer 02 July 2021, share the link with friends and acquaintances, this video has already been watched 453 times on youtube and it was liked by 4 viewers. Enjoy your viewing!