Install Python on Debian 12

Aug 06, 2023 · 1 min read · Post a comment

Using the Debian official repository is the best method to install Python on Debian 12.


  • Debian 12
  • sudo privileges

Install Python on Debian 12

Step 1. Update the packages.

sudo apt update

Step 2. Install Python.

sudo apt install python3

Step 3. Verify the installation.

python3 --version


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.