install python3.9 on ubuntu 18.04 20.04

Installing Python 3.9 on Ubuntu with apt is a relatively straightforward process and will only take a few minutes:

  1. Start by updating the packages list and installing the prerequisites:

2. Next, add the deadsnakes PPA to your sources list:

When prompted press Enter to continue:

--

--

自由撰稿人,时评人,平等公义追求者

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store