How to install the latest python version on Linux Ubuntu/Mint

Опубликовано: 27 Декабрь 2024
на канале: CP Breeze Tech - Alchemizing Biz & Tech
22
0

cd /
python3 --version
sudo apt update -y
sudo apt install wget build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget libc6-dev -y
cd ~/Downloads/
wget https://www.python.org/ftp/python/3.1... (use the last version download link)
sudo tar xvf Python-3.10.5.tgz
cd python-3.8.3
sudo ./configure --enable-optimizations
sudo make install
python3.10 --version
sudo apt install python3-pip
pip3 --version
sudo pip3 install --upgrade pip
pip3 --version