Install python 3.8 on Ubuntu

Sometimes you need a particular version of python, in this guide we will go over how to install python 3.8 on Ubuntu or any other specific version of Python on Ununtu.

First install the prerequisites

sudo apt update
sudo apt install software-properties-common

Add the official source for python to your sources list

sudo add-apt-repository ppa:deadsnakes/ppa

Run the python 3.8 install command

sudo apt install python3.8

Verify python 3.8 is installed

python3.8 --version
Install python 3.8 on Ubuntu

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.