The Python programming language 3.10 is now in development. For testing purpose you can install the alpha release via PPA in Ubuntu 20.04, Ubuntu 18.04, Ubuntu 16.04, Linux Mint 19.x/20, and derivatives.
Many new features for Python 3.10 are still being planned and written. Among the new major features and changes so far:
- Remove wstr from Unicode
- Allow writing union types as X | Y
- Parameter Specification Variables
- Precise line numbers for debugging and other tools.
from __future__ import annotations
is now the default.- Add Optional Length-Checking To zip.
Install Python 3.10 Alpha via PPA:
So far, it’s Python 3.10 a4 the fourth of six planned alpha releases, which is available to install via this Ubuntu PPA.
1.) Open terminal from system application menu, and run command to add the PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
Type user password (no asterisk feedback) for sudo prompts and hit Enter to continue.
2.) Then refresh system package via command:
sudo apt update
3.) Finally install Python 3.10 via command:
sudo apt install python3.10
Once installed, check via python3.10 --version
command or just run python3.10
to access the IDE in terminal.
Uninstall Python 3.10:
To remove the programming language, run command:
sudo apt remove --autoremove python3.10
And remove the Ubuntu PPA via Software & Updates utility under Other Software tab.