
In this tutorial, we’ll install the latest one, which is Python 3.6. Currently, the available versions of Python 3 are: You can easily search their website to see their pre-compiled Python versions. Now that we have access to the SCL repository, we can install any version of Python they have available.

To do this run: $ sudo yum install centos-release-scl Step 2 - Install Python 3.6 from the Repository To enable SCL we’ll have to install the CentOS SCL release file. By installing different versions of Python alongside the default v2.7.5, we won’t affect system tools such as `yum`, so they’ll continue to work properly. By using SCL we have access to newer versions of packages that aren’t available in the core repositories.ĬentOS 7 comes with Python 2.7.5 built-in, which is critical to CentOS. SCL is a community project that allows us to install multiple versions of software on the same system, without affecting default packages. This is the easier method to install Python on your machine.įor this, we’ll use Software Collections (SCL). The Software Collection is a utility that allows executing an application that is not located in the filesystem root hierarchy but is present in an alternative location.Get started now Method #1 – Installing Python 3.6 on Centos 7 from a Repository The first thing when installing Python on CentOS 7 is enabling the Software Collections. We’ll also help you learn some basics and create a virtual environment for Python to streamline its usage. The installation will utilize the Software Collections (SCL) and distribution default Python 2.7. This tutorial will show you how to install the latest version of Python on your CentOS 7 system.

Some of the most popular websites and applications developed using Python include DropBox, YouTube, Quora, Reddit, Pinterest, and Instagram. It’s an incredible programming language that is ideal for both beginners and well-versed developers. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Python is an interpreted, high-level, general-purpose programming language.
