Installation
Installation Python 3.9 Linux Debian
Check version of Python
python --version
Update repo
sudo apt update
Install Supporting Software
sudo apt install software-properties-common
Add Deadsnakes PPA
sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update
Install Python 3.9
sudo apt install python3.9
Check Python version
python3 --version
PIP Installation Linux Debian
Update system
Run the command below:
sudo apt-get update
Install pip3
If Python 3 has already been installed on the system, execute the command below to install pip3:
sudo apt-get -y install python3-pip
Verification
To verify the installation, run the following command to cross check the version number:
pip3 --version