
Open a terminal window, and enter the following: sudo apt update Step 2: Install Supporting Software Step 1: Update and Refresh Repository Lists If the revision level is lower than 3.7.x, or if Python is not installed, continue to the next step. Check your version of Python by entering the following: python -version Most factory versions of Ubuntu 18.04 or Ubuntu 20.04 come with Python pre-installed. You may not see new releases as quickly on a third-party repository. There are fewer steps, but it’s dependent on a third party hosting software updates.

This process uses the apt package manager to install Python. Option 1: Install Python 3 Using apt (Easier) Make sure your environment is configured to use Python 3.8.

Access to a terminal window/command-line ( Ctrl– Alt– T).A system running Ubuntu 18.04 or Ubuntu 20.04.
