How to Install and Uninstall tk Package on Debian 12 (Bookworm)

Last updated: May 12,2024

1. Install "tk" package

Please follow the step by step instructions below to install tk on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install tk

2. Uninstall "tk" package

This is a short guide on how to uninstall tk on Debian 12 (Bookworm):

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

3. Information about the tk package on Debian 12 (Bookworm)

Package: tk
Source: tcltk-defaults
Version: 8.6.13
Installed-Size: 20
Maintainer: Debian Tcl/Tk Packagers
Architecture: amd64
Provides: wish
Depends: tk8.6 (>= 8.6.13-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.13_amd64.deb
Size: 4052
MD5sum: e71e1f234651aa44a0ac9b5e6cb5f0f4
SHA256: 8c3a35069e9023b8b814173da669ca05754b1712d1aa981cfb316d2934689b1c