![]() # python3.7 -vPython 3.7.2 on linuxType "help", "copyright", "credits" or "license" for more information. ![]() Once this is completed, our new version Python3.7.2 is installed and ready to use. The altinstall command instructs your system to create a second installation of this version of Python. So we need to install it as an alternate version in parallel. As we know, the default version of python 2.7.5 already exists. ![]() The make command builds the install package for python 3.7.2. configure -enable-optimizations make altinstall Next, we will compile the source to an installation package. Untar the package and enter the directory tar xzf Python-3.7.2.tgzcd Python-3.7.2 Copy the URL of desired python version (python-3.x.x.tgz) and download it. At the time of writing, the latest version is 3.9.2. usr/local/src) and download the source from. browse to a directory you want to download the python source (for e.g. Make sure you have open-ssl-devel, and bzip2-devel installed as well once groupinstall is complete. # yum update -y# yum groupinstall 'Development Tools' Start with installing updating all packages available and installing Development tools.ĭon’t forget to add “sudo” before any command if you are not a root user. How to install Python 3 on CentOS 7 from source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |