Python Upgrade

From ElectroDragon
Jump to navigation Jump to search

check version

jensd@deb:~$ cat /etc/debian_version
jensd@deb:~$ uname -r

Upgrade 3.7 to 3.9

Open the /etc/apt/sources.list file with the following command:

sudo nano /etc/apt/sources.list

Add the official testing repository. Append the following line of text to the end of the file:

deb testing non-free contrib main


sudo apt update
sudo apt upgrade 
apt-get install python3-minimal