The Python 3 interpreter is not available on the RHEL 8 default installation. However, it can be installed with a single dnf command.

In this tutorial you will learn:
  • How to install Python 3 on Redhat 8.
  • How to to check Python version on Redhat 8.
Python 3 installation on Red Hat Enterprise Linux 8
Python 3 installation on Red Hat Enterprise Linux 8.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Red Hat Enterprise Linux 8
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to Install python 3 on Redhat 8 step by step instructions


SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  1. To install Python 3 on Red Hat Enterprise Linux 8 execute the following dnf command:
    # dnf install python3
    
  2. Use --version option to check the installed Python version. For example:
    # python3 --version
    Python 3.6.6
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.