Answers for "linux update python version"

4

how to install python3 in ubuntu

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8
Posted by: Guest on September-21-2020
3

how to change python version on linux

#Check available versions
ls /usr/bin/python*
#Change the used version 3.5 or 3.7 etc
alias python='/usr/bin/python3.x'
#do this other thing
. ~/.bashrc
#Check version 
python --version
Posted by: Guest on August-07-2020
1

update python ubuntu

$ sudo apt update -y
$ sudo apt install python3.7
Posted by: Guest on July-28-2020

Code answers related to "linux update python version"

Python Answers by Framework

Browse Popular Code Answers by Language