Install Latest Python And Pip in Linux - Ubuntu, Linux Mint, Debian, Kali Linux
Install Latest Python And Pip in Linux - Ubuntu, Linux Mint, Debian, Kali Linux
Update and upgrade
sudo apt update && sudo apt upgrade -y
Install python
sudo apt install python3.8
Check all python version
python2
exit()
python3
exit()
python3.8
exit()
exit()
python3
exit()
python3.8
exit()
Set update python as default
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10
python
python
Change directory
cd Downloads
Install latest version of pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.pypip --version
No comments: