How to Install and Uninstall python-tk Package on Kali Linux

Last updated: November 26,2024

1. Install "python-tk" package

In this section, we are going to explain the necessary steps to install python-tk on Kali Linux

$ sudo apt update $ sudo apt install python-tk

2. Uninstall "python-tk" package

This is a short guide on how to uninstall python-tk on Kali Linux:

$ sudo apt remove python-tk $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-tk package on Kali Linux

Package: python-tk
Source: python-stdlib-extensions
Version: 2.7.18-1
Installed-Size: 102
Maintainer: Matthias Klose
Architecture: amd64
Provides: python2.7-tk
Depends: python2 (>= 2.7), python2 (<< 2.8), blt (>= 2.4z-9), libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0), tk8.6-blt2.5 (>= 2.5.3)
Suggests: tix, python-tk-dbg
Size: 26732
SHA256: d7cff5b0b4e3ebe64dd51221361615a9a30fcf1f001b0a6ab7af86a89d4fed72
SHA1: 23bbd30e1363e946d6be66813fbfa75a9d893a55
MD5sum: 2dd59ed7e986d473229406e092ca8953
Description: Tkinter - Writing Tk applications with Python2
A module for writing portable GUI applications with Python2 using Tk.
Also known as Tkinter.
Description-md5:
Tag: devel::lang:python, devel::library, implemented-in::python,
role::shared-lib, uitoolkit::tk
Section: python
Priority: optional
Filename: pool/main/p/python-stdlib-extensions/python-tk_2.7.18-1_amd64.deb