How to Install and Uninstall python-tk Package on Debian 11 (Bullseye)

Last updated: May 02,2024

1. Install "python-tk" package

In this section, we are going to explain the necessary steps to install python-tk on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python-tk

2. Uninstall "python-tk" package

This guide covers the steps necessary to uninstall python-tk on Debian 11 (Bullseye):

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

3. Information about the python-tk package on Debian 11 (Bullseye)

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
Description: Tkinter - Writing Tk applications with Python2
Description-md5: 7de9414ff2f61adaf4a5ffe446938a7f
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
Size: 26732
MD5sum: 2dd59ed7e986d473229406e092ca8953
SHA256: d7cff5b0b4e3ebe64dd51221361615a9a30fcf1f001b0a6ab7af86a89d4fed72