How to Install Python on CentOS Stream 9

Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Update the System

dnf update  

Install Python

Let us now install the latest version of Python 3.9 by running the below command

yum install python

Now check the Python version using the following command

python --version

Now you have successfully installed Python on your CentOS Stream 9.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS