Skip to main content

Python on Linux (Ubuntu)

Installation

Python is usually already installed by the OS.

If needed, you can install or update it using:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.14

Verify Installation

After installation, check that Python is correctly installed:

python --version

You should see the installed Python version, e.g., Python 3.14.