Installing Python3 on Linux
Python comes pre-installed on most Linux distros. But if for whichever reason it isn't installed on yours, we'll install it in the next section.
First, let's update and upgrade your system
If you are on Ubuntu, run:
sudo apt update && sudo apt upgrade
For Arch, run:
sudo pacman -Syu
Fedora:
sudo dnf upgrade
Now let's install python (plus some extra packages you will most definitely eventually need when using python)