Ubuntu 24.04
Sponsored Link

Python 3.12 : Install2024/05/31

 

Install Python 3.12.

[1] Install Python 3.12.
root@dlp:~#
apt -y install python3.12 python3.12-venv
root@dlp:~#
python3 -V

Python 3.12.3


# verify to create a test script

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

root@dlp:~#
python3 python3_test.py

3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0]
Matched Content