CentOS Stream 9
Sponsored Link

Python 3.11 : Install2024/06/04

 
Install Python 3.11.
[1] Install Python 3.11.
[root@dlp ~]#
dnf -y install python3.11 python3.11-pip
[root@dlp ~]#
python3.11 -V

Python 3.11.7

[root@dlp ~]#
pip3.11 -V

pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)

# verify to create a test script

[root@dlp ~]#
echo -e "import sys\nprint(sys.version)" > python3_test.py

[root@dlp ~]#
python3.11 python3_test.py

3.11.7 (main, Jan 22 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)]
Matched Content