![]() ![]() That’s why we have rpm and yum.ģ – If you accidentally run ‘make install’ as root, you will likely break yum and other system admin utilities. Check one of the source RPMs for a full list of the packages that should be pre-installed. Look through the comments that are already here.ġ – There is no uninstal command, you are manually making changes to your system as root.Ģ – The dependency list to get all of the standard library modules (SSL, compression, database, etc. We still suggest to the package manager for the Python installation, but if the package manager is failing to do it, compile it from the source code.įor most people, building Python from source isn’t good advice. In this tutorial, you have found the instructions to install Python 3.11 on CentOS, RHEL, and Fedora systems by compiling it from the source code. Now remove the downloaded source archive file from your system sudo rm /usr/src/Python-3.11.1.tgz Step 3: Check Python VersionĬheck the latest version installed of python using the below command. Make altinstall is used to prevent replacing the default python binary file /usr/bin/python. configure -enable-optimizations sudo make altinstall ![]() configure script and the make with altinstall. Use the below set of commands to compile Python source code using the. tar xzf Python-3.11.1.tgz Step 2: Install Python 3.11 on CentOS & Fedora You can also download the latest version in place of specified below.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |