Install Python on CentOS #
Python is a popular programming language for web development, automation, data analysis, artificial intelligence, and more. This guide will show you how to install Python on CentOS.
Steps to Install Python #
-
Update your system:
sudo yum update -y
-
Install Python:
sudo yum install python3 -y
-
Verify the installation:
python3 --version
-
(Optional) Install PIP (Python Package Manager):
sudo yum install python3-pip -y
-
(Optional) Verify PIP installation:
pip3 --version
You have now successfully installed Python and PIP on CentOS.