How to Install and Uninstall 2to3 Package on Kali Linux
Last updated: November 21,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
Copied
$
sudo apt install
2to3
Copied
2. Uninstall "2to3" package
This guide let you learn how to uninstall 2to3 on Kali Linux:
$
sudo apt remove
2to3
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the 2to3 package on Kali Linux
Package: 2to3
Source: python3-defaults
Version: 3.11.6-1
Installed-Size: 32
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.11.5-1~), python3 (>= 3.11.6-1)
Breaks: python (<< 2.7.14-4)
Size: 10212
SHA256: e02cab81fb03bb8a0748c0cc1c50706a90effab3cbb63e39cea10672573fad01
SHA1: cfd87e7b19b273361cec9531096ba30296648602
MD5sum: 52a1ffda8c7a9cbed726338ebba273bc
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).
Description-md5:
Multi-Arch: foreign
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.11.6-1_all.deb
Source: python3-defaults
Version: 3.11.6-1
Installed-Size: 32
Maintainer: Matthias Klose
Architecture: all
Replaces: python (<< 2.7.14-4)
Depends: python3-lib2to3 (>= 3.11.5-1~), python3 (>= 3.11.6-1)
Breaks: python (<< 2.7.14-4)
Size: 10212
SHA256: e02cab81fb03bb8a0748c0cc1c50706a90effab3cbb63e39cea10672573fad01
SHA1: cfd87e7b19b273361cec9531096ba30296648602
MD5sum: 52a1ffda8c7a9cbed726338ebba273bc
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).
Description-md5:
Multi-Arch: foreign
Homepage: https://www.python.org/
Section: python
Priority: optional
Filename: pool/main/p/python3-defaults/2to3_3.11.6-1_all.deb