How to Install 2to3 in Ubuntu 18.04 LTS Bionic Beaver

Quick Install Instructions of 2to3 on Ubuntu 18.04.

Install 2to3 by entering the following commands in the terminal

Step 1

Update package repositories and get latest package information.

sudo apt update -y
Copied

Step 2

Install the packages and dependencies with -y flag.

sudo apt install -y 2to3
Copied

Now that you have your 2to3 installed


Package Description: 2to3 binary using python3

Version: 3.6.5-3

Repository: universe

OS: Ubuntu 18.04 LTS Bionic Beaver

Dependent Packages (you may have to install the packages below if it is not installed automatically or is not available on your computer) :

  • python3 (>= 3.6.5-3)
    interactive high-level object-oriented language (default python3 version)
  • python3-lib2to3 (>= 3.6.5-2~)
    Interactive high-level object-oriented language (2to3, version 3.6)

Similar packages

cue2toc

converts CUE files to cdrdao's TOC format

e2tools

utilities for manipulating files in an ext2/ext3 filesystem

python-d2to1

Python support for distutils2-like setup.cfg files as package metadata

python3-d2to1

Python3 support for distutils2-like setup.cfg files as package metadata

2to3

2to3 binary using python3

cue2toc

converts CUE files to cdrdao's TOC format

e2tools

utilities for manipulating files in an ext2/ext3 filesystem

python-d2to1

Python support for distutils2-like setup.cfg files as package metadata

python3-d2to1

Python3 support for distutils2-like setup.cfg files as package metadata

python3-lib2to3

Interactive high-level object-oriented language (2to3, version 3.6)