Install development tools and some prerequisite packages. That’s it! Python 3 is now installed! Another helpful idea to consider is that PIP, the Python package manager for Python 3, is installed alongside the Python 3 package, so we don’t have to worry about that as an additional installation step. Thankfully, as of CentOS 7.7, Python 3 is available in the base package repository! Step 1: Update the environment ~]# yum update -y Step 2: Install Python 3 ~]# yum install -y python3 In CentOS 7 releases prior to 7.7, it was necessary to make Python 3 available for installation by setting up third-party repositories, such as the IUS repository, because the CentOS base repository did not provide a Python 3 package. These instructions assume that your server has CentOS release 7.7. In this tutorial, we are going to take a look at how to get up and running with Python 3 on a CentOS 7 server. However, Python 2 has reached its EOL on January 1, 2020. The CentOS 7 Linux distribution includes Python 2 by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |