How to Install and Uninstall 2to3 Package on Kali Linux

Last updated: March 04,2024

1. Install "2to3" package

In this section, we are going to explain the necessary steps to install 2to3 on Kali Linux

$ sudo apt update $ sudo apt install 2to3

2. Uninstall "2to3" package

This guide let you learn how to uninstall 2to3 on Kali Linux:

$ sudo apt remove 2to3 $ sudo apt autoclean && sudo apt autoremove

3. Information about the 2to3 package on Kali Linux

Package: 2to3
Source: python3-defaults
Version: 3.11.4-5
Installed-Size: 32
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.11.4-1~), python3 (>= 3.11.4-5)
Breaks: python (<< 2.7.14-4)
Size: 10180
SHA256: 6b150c261254b358e031e678e6ce8479a0c8af4010639fec991e0e5b92d3cf1c
SHA1: 5ac50983881ae749accba4d159be31c6339bf534
MD5sum: 65c542430e112b3a1ab94a0bfb56be4c
Description: 2to3 binary using python3
2to3 is a Python program that reads Python 2.x source code and applies a
series of fixers to transform it into valid Python 3.x code. The standard
library contains a rich set of fixers that will handle almost all code. 2to3
supporting library lib2to3 is, however, a flexible and generic library, so it
is possible to write your own fixers for 2to3. lib2to3 could also be adapted
to custom applications in which Python code needs to be edited automatically.
This package is a dependency package, which depends on Debian's default
Python 3 2to3 version (currently v3.11).
Multi-Arch: foreign
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.11.4-5_all.deb