3/25/2020 Centos Install Python 3.7
Python is a powerful programming language. It is very friendly and easy to learn. At the writing time of this article Python 3.8 latest stable version is available to download and install. This article will help you to install Python 3.8.0 on your CentOS, Red Hat & Fedora operating systems.
![]() Step 1 â Install Required Packages
Install Python 3.5.1 on CentOS/RHEL 7/6. Python 3.x is a new version of the language, which is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed.
![]()
Use the following command to install prerequisites for Python before installing it.
Step 2 â Download Python 3.8
Download Python using following command from python official site. You can also download latest version in place of specified below.
Now extract the downloaded package.
Step 3 â Compile Python Source
Use below set of commands to compile python source code on your system using altinstall.
make altinstall is used to prevent replacing the default python binary file /usr/bin/python.
Now remove downloaded source archive file from your system
Step 4 â Check Python Version
Check the latest version installed of python using below command
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |