How to Install Python 3.8 Using Yum
ASHISH GUPTA
3 min read
- python
How to Install Python 3.8 Using Yum
If you are a developer or an administrator,so you must have correct and latest version of python is crucial for your work.
in this blog i'll share with you my experience and which python version is choosed by experience developers that they work or build something on python.
Python 3.8 gives some improvements and new features,making it a popular choice for many projects and for developers also. in this blog we see about installation of Python 3.8 on a system that uses Yum package manager , such as Centos or REHL
Essential Requirements
Root or sudo access to the System by typing "sudo su" in linux terminal.
A stable internet connection for downloading the important packages.
What Is YUM?
The Yellowdog Updater Modified (YUM) is a free and open-source command-line package-management useful for computers running the Linux OS,It using the RPM Package Manager. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality.
It permits for auto updates package dependency management on RPM-based distributions. Like the Advanced Package Tool (APT) from Debian, It works with software repositories, which can be accessed locally or over a network connection.
Now here are steps to install Python 3.8 using Yum in your OS
Step 1: Update Your System
check Your system is up to date. if not write this:
sudo yum update -y
and this command will update your all packages on your OS to latest version.
Step 2: Enable the EPEL Repository
The Extra Packages for Enterprise Linux (EPEL) repository provides additional packages for CentOS and RHEL. Python 3.8 is available in this repository.
sudo yum install epel-release -y
Step 3: Install Python 3.8
sudo yum install python38 -y
Step 4: Verify the Installation
python3.8 --version
//output
Python 3.8.X //you should get this in your terminal
Step 5: Set Python 3.8 as the Default Python Version (Optional)
sudo alternatives --set python /usr/bin/python3.8
This code will set Python 3.8 version default.
Step 6: Install Pip for Python 3.8
Pip is a package manger for python which allows you to install additional python packages. for install pip use below code in your terminal.
sudo yum install python38-pip -y
verify Pip version:
pip3.8 --version
Conclusion
These are the steps to install python 3.8 using yum in your system.python 3.8 you have advantage of its new features and improvements for your development projects. if you face any problem comment it i will solve your problems.thanks for reading this blogs give a like to engage this blogs and still you bother issues you can refer official Python documentation from the community forums.
Happy coding!