How to install python in Linux command line (Ubuntu terminal). This tutorial explains how to install python packages and module in Linux terminal.
Python 3.12 is the latest stable release of the Python programming language, with a mix of changes to the language and the standard library. The library changes focus on cleaning up deprecated APIs, usability, and correctness.
Some of the most exciting new features in Python 3.12 released on October 2, 2023 are:
- PEP 695: Type Parameter Syntax
- PEP 701: Syntactic formalization of f-strings
- PEP 684: A Per-Interpreter GIL
- PEP 669: Low impact monitoring for CPython
- PEP 688: Making the buffer protocol accessible in Python
- PEP 709: Comprehension inlining
- Improved Error Messages
Install Python 3.12.0 in Ubuntu
Run the following commands in terminal to install Install Python 3.12.0 in Ubuntu Linux:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12
You can also download the Python 3.12 source from the official website https://www.python.org/downloads/source/