python, centos,

How to install Python on CentOS 9 Stream

Aug 27, 2022 · 1 min read · 14 views · Post a comment

As always keeping to the minimalistic things will ease your life. Today’s aim is to install Python on CentOS 9 Stream. The installation is pretty simple and quick.

Prerequisites

  • CentOS 9 Stream
  • sudo privileges

Install Python on CentOS 9 Stream

Step 1. Make sure that the system is up-to-date.

sudo dnf clean all
sudo dnf update

Step 2. Install the needed requirements.

sudo dnf install gcc make bzip2-devel libffi-devel wget zlib-devel openssl-devel

Step 3. Install Python on CentOS 9 Stream.

sudo dnf install python

Step 4. Verify the installation.

python --version

Conclusion

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