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

Last updated: May 12,2024

1. Install "tk" package

This guide covers the steps necessary to install tk on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install tk

2. Uninstall "tk" package

This tutorial shows how to uninstall tk on Debian 11 (Bullseye):

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

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

Package: tk
Source: tcltk-defaults
Version: 8.6.11+1
Installed-Size: 22
Maintainer: Debian Tcl/Tk Packagers
Architecture: amd64
Provides: wish
Depends: tk8.6 (>= 8.6.11-1~), tcl
Breaks: tk8.3 (<< 8.3.5-16), tk8.4 (<< 8.4.20-2), tk8.5 (<< 8.5.14-3), tk8.6 (<< 8.6.0-2)
Description: Toolkit for Tcl and X11 (default version) - windowing shell
Description-md5: c18f13af983cc9102503e0f44f8d4b2e
Multi-Arch: foreign
Tag: devel::lang:tcl, role::metapackage, uitoolkit::tk
Section: interpreters
Priority: optional
Filename: pool/main/t/tcltk-defaults/tk_8.6.11+1_amd64.deb
Size: 5828
MD5sum: e40098a054bef0633d0784a2cec51671
SHA256: dc1cdf09b2e5c27797b34bca1468c46c2216c2eb708cd0406b36f0660be11f7c