Python Upgrade

From ElectroDragon
Jump to navigation Jump to search


check version

jensd@deb:~$ cat /etc/debian_version
9.1
jensd@deb:~$ uname -r
4.9.0-3-amd64

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 http://http.us.debian.org/debian/ testing non-free contrib main

and

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