![]() ![]() For additional help or useful information, we recommend you check the official Python website. The Software Collection is a reliable, community project designed to allow developers to install, build, and utilize numerous software versions on a single system without compromising the performance of the system default modules. Thanks for using this tutorial to install Python Programming Language on CentOS 9 Stream. The first thing when installing Python on CentOS 7 is enabling the Software Collections. Next, switch to the source directory and run the configuration script: cd Python-3.11.2.tgzįinally, build Python using the following command: sudo make altinstallĪfter the installation process has finished, confirm the version using the following command: python3.11 -versionĬongratulations! You have successfully installed Python. Then, extract the archive file using tar: tar xvf Python-3.11.2.tgz Now we run the following command to download the latest Python from the official source: wget Install Python from the official source.You can then verify the installation information using the following command: python -version Let’s install the Python using the following command below: sudo dnf install python ![]() Install Python via the Default CentOS Stream repository.īy default, Python is available on the CentOS 9 Stream base repository.Sudo dnf install gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make
0 Comments
Leave a Reply. |