Linux Apps Tutorials - Herong's Tutorial Examples - v1.03, by Herong Yang
Install and Manage Python Engine on CentOS
This section provides a tutorial example on how to install Python 3.6 on CentOS 8 systems using 'dnf/yum' as the package manager.
The Python script engine is included as part of the CentOS 8 system by default. You don't need to install it yourself. But you can still install its additional modules using the "dnf" package manager.
1. Login as "herong", who has admin privileges.
2. Check the current installed version of Python:
herong$ python3 --version Python 3.6.8
3. Run "dnf search python3" to find Python package name:
herong$ dnf search python3 python36.x86_64 : Interpreter of the Python programming language python3-py.noarch : Library with cross-python path, ini-parsing, io, code, log facilities python3-gpg.x86_64 : gpgme bindings for Python 3 python3-meh.noarch : A python 3 library for handling exceptions python3-pid.noarch : PID file management library python3-ply.noarch : Python Lex-Yacc ...
4. Install the "python36" package:
herong$ sudo dnf install python36 Package python36-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete!
Ok. The installed Python 3.6 package is the latest package from the repository. So there is nothing to be installed.
Table of Contents
Running Apache HTTP Server (httpd) on Linux Systems
Running Apache Tomcat on Linux Systems
Running PHP Scripts on Linux Systems
Running MySQL Database Server on Linux Systems
►Running Python Scripts on Linux Systems
►Install and Manage Python Engine on CentOS
"pip/pip3" Python Package Manager
Install MySQL Connector/Python on CentOS
Install Python 2 Engine on CentOS
Conda - Environment and Package Manager