How to install Python 3.10 Alpha on Ubuntu 20.04, Ubuntu 18.04

The Python programming language 3.10 is currently under development. For testing purposes, you can install the alpha release on Ubuntu 20.04, Ubuntu 18.04, Ubuntu 16.04, Linux Mint 19.x / 20, and its derivatives via PPA.

Many new features of Python 3.10 Still planned and written. Among the new major features and changes so far:

  • Remove wstr from unicode
  • Allows the union type to be described as X | Y
  • Parameter specification variable
  • The exact line number for debugging and other tools.
  • from __future__ import annotations Currently the default.
  • Add optional length-check zip.

Install Python 3.10 Alpha via PPA.

So far, Python 3.10 a4 is the fourth of the six planned alpha releases and can be installed through it. Ubuntu PPA..

1.) Open a terminal from the system application menu and execute the command to add the PPA.

sudo add-apt-repository ppa:deadsnakes/ppa

Enter the user password for the sudo prompt (without asterisk feedback) and press Enter to continue.

How to install Python 3.10 Alpha on Ubuntu 20.04, Ubuntu 18.04

2.) Then use the command to update the system package.

sudo apt update

3.) Finally, use the command to install Python 3.10.

sudo apt install python3.10

How to install Python 3.10 Alpha on Ubuntu 20.04, Ubuntu 18.04

Once installed, python3.10 --version Command or just execute python3.10 Access the IDE in your terminal.

How to install Python 3.10 Alpha on Ubuntu 20.04, Ubuntu 18.04

Uninstall Python 3.10.

To remove the programming language, run the following command:

sudo apt remove --autoremove python3.10

And[その他のソフトウェア]Of tabs[ソフトウェアとアップデート]Use the utility to remove the Ubuntu PPA.

How to install Python 3.10 Alpha on Ubuntu 20.04, Ubuntu 18.04

Share this:

  • More
Sidebar