How to Install Python 3.10 Alpha in Ubuntu 20.04, Ubuntu 18.04

January 7, 2021 — Leave a comment

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.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.