If you have CentOS version 7.7 or newer, skip to the next step. ![]() Before you move on to installing Python 3 on your CentOS system, make sure it is available in the package repository. Through this tutorial, we have learned how to install and configure python 3.10 version on CentOS system. Start by updating the repository: sudo yum update -y 2. If this was CentOS version 5.8 on 64-bit, for instance, you'd find the current package name in the CentOS repository. Now, execute the following command on the command line or prompt to verify the installation of python into the centos system: python3.10 -V If you only removed a single package, you would need to download the python RPM for your particular version of CentOS. ![]() sudo apt-get update sudo apt-get install python3.6. Step 5 – Configure Python in CentOS System. To install Python in these Linux distribution, Open terminal and run command those are given below. Install below pre-requisites: 1 sudo yum -y install wget make gcc openssl-devel bzip2-devel Step 2: Downloading Python 3.7 Download python setup in tmp location 1 2 cd /tmp/ wget Step 3: Python 3. To install the Python version, just downloaded, cd into the directory: cd Python-3.10.2 Then execute the following command on command line or prompt to install some packages in CentOS system: yum install openssl-devel bzip2-devel libffi-develĭownload and extract python by executing the following commands on command prompt: wget
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |