Python Upgrade

From ElectroDragon Wiki
Revision as of 16:45, 17 October 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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