Install Python3.11 on Centos8

engrmahabub
Mahabubur Rahman
Published on Jan, 08 2024 3 min read 0 comments
image

Python is a high-level, interpreted programming language that has been adopted for varying applications development and gained immense popularity in the recent years. Python can be used in coding wide range of applications, including web development, data analysis, scientific computing, artificial intelligence, Games, and more. It is an ideal language for beginners because of its simplicity and ease of use.

Python 3.11 is a significant release that introduces many new features and improvements to the language. In this section we will cover all the necessary steps to have Python 3.11 installed on CentOS 7 / RHEL 7 Linux system.

Just run bellow commend - 

yum install python3.11

 

[root@PP-almalinux-c-8-intel-blr1-01 adserver]# yum install python3.11
Last metadata expiration check: 0:01:36 ago on Thu Nov 30 04:33:32 2023.
Dependencies resolved.
===========================================================================================================================================================================================================
 Package                                                       Architecture                             Version                                          Repository                                   Size
===========================================================================================================================================================================================================
Installing:
 python3.11                                                    x86_64                                   3.11.5-1.el9_3                                   appstream                                    26 k
Installing dependencies:
 libnsl2                                                       x86_64                                   2.0.0-1.el9                                      appstream                                    30 k
 mpdecimal                                                     x86_64                                   2.5.1-3.el9                                      appstream                                    85 k
 python3.11-libs                                               x86_64                                   3.11.5-1.el9_3                                   appstream                                   9.3 M
 python3.11-pip-wheel                                          noarch                                   22.3.1-4.el9                                     appstream                                   1.4 M
 python3.11-setuptools-wheel                                   noarch                                   65.5.1-2.el9                                     appstream                                   712 k

Transaction Summary
===========================================================================================================================================================================================================
Install  6 Packages

Total download size: 12 M
Installed size: 47 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): libnsl2-2.0.0-1.el9.x86_64.rpm                                                                                                                                      176 kB/s |  30 kB     00:00
(2/6): python3.11-3.11.5-1.el9_3.x86_64.rpm                                                                                                                                 76 kB/s |  26 kB     00:00
(3/6): mpdecimal-2.5.1-3.el9.x86_64.rpm                                                                                                                                    246 kB/s |  85 kB     00:00
(4/6): python3.11-setuptools-wheel-65.5.1-2.el9.noarch.rpm                                                                                                                 3.1 MB/s | 712 kB     00:00
(5/6): python3.11-libs-3.11.5-1.el9_3.x86_64.rpm                                                                                                                            18 MB/s | 9.3 MB     00:00
(6/6): python3.11-pip-wheel-22.3.1-4.el9.noarch.rpm                                                                                                                        4.0 MB/s | 1.4 MB     00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                      8.4 MB/s |  12 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                   1/1
  Installing       : python3.11-setuptools-wheel-65.5.1-2.el9.noarch                                                                                                                                   1/6
  Installing       : python3.11-pip-wheel-22.3.1-4.el9.noarch                                                                                                                                          2/6
  Installing       : mpdecimal-2.5.1-3.el9.x86_64                                                                                                                                                      3/6
  Installing       : libnsl2-2.0.0-1.el9.x86_64                                                                                                                                                        4/6
  Installing       : python3.11-3.11.5-1.el9_3.x86_64                                                                                                                                                  5/6
  Installing       : python3.11-libs-3.11.5-1.el9_3.x86_64                                                                                                                                             6/6
  Running scriptlet: python3.11-libs-3.11.5-1.el9_3.x86_64                                                                                                                                             6/6
  Verifying        : libnsl2-2.0.0-1.el9.x86_64                                                                                                                                                        1/6
  Verifying        : mpdecimal-2.5.1-3.el9.x86_64                                                                                                                                                      2/6
  Verifying        : python3.11-3.11.5-1.el9_3.x86_64                                                                                                                                                  3/6
  Verifying        : python3.11-libs-3.11.5-1.el9_3.x86_64                                                                                                                                             4/6
  Verifying        : python3.11-pip-wheel-22.3.1-4.el9.noarch                                                                                                                                          5/6
  Verifying        : python3.11-setuptools-wheel-65.5.1-2.el9.noarch                                                                                                                                   6/6

Installed:
  libnsl2-2.0.0-1.el9.x86_64                        mpdecimal-2.5.1-3.el9.x86_64   python3.11-3.11.5-1.el9_3.x86_64   python3.11-libs-3.11.5-1.el9_3.x86_64   python3.11-pip-wheel-22.3.1-4.el9.noarch
  python3.11-setuptools-wheel-65.5.1-2.el9.noarch

Complete!

 

 

 

0 Comments