aapanelCentosControl PanelCWPLinuxVesta CP

Install Python 3.10 in Centos 8 Stream/CWP/AlmaLinux/RockyLinux/OracleLinux/El8

We’ll learn how to install Python 3.10 In Centos/RHEL/CWP Server, below I’ve provider easy steps upon how you can install it. Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Install dependencies :

dnf install -y openssl-devel zlib-devel bzip2-devel libffi-devel xz-devel nano tar
dnf groupinstall "Development Tools" -y
dnf install libuv-devel --nobest -y

Install Python 3.10 :

**you can download latest version from here

cd /usr/local/src
rm -rf Python-*
wget https://www.python.org/ftp/python/3.10.3/Python-3.10.3.tgz
tar xvf Python-3.10.3.tgz
cd Python-3.10*/
./configure --enable-optimizations --with-computed-gotos --with-system-ffi --enable-loadable-sqlite-extensions
make altinstall

you can check the versions via below command example :

[root@centos]# python3.10 -V
Python 3.10.3

[root@centos]# pip3.10 -V
pip 21.2.4 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)

Sandeep B.

I'm a system admin and php developer and currently working as System Admin In CWP Control panel, expertise in Linux and Windows administration RHEL certified admin.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button