How to Install and Uninstall tk Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 13,2024

1. Install "tk" package

In this section, we are going to explain the necessary steps to install tk on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install tk

2. Uninstall "tk" package

Please follow the instructions below to uninstall tk on Ubuntu 21.10 (Impish Indri):

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

3. Information about the tk package on Ubuntu 21.10 (Impish Indri)

Package: tk
Architecture: amd64
Version: 8.6.11+1build1
Multi-Arch: foreign
Priority: optional
Section: libs
Source: tcltk-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Tcl/Tk Packagers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
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)
Filename: pool/main/t/tcltk-defaults/tk_8.6.11+1build1_amd64.deb
Size: 3062
MD5sum: fea7c994f1eab2af11250fc8a9b29610
SHA1: 4081e6855838abf208715c195c58cd64672f8654
SHA256: 4c6a334aa46b8407a43ae9b647f43a7e197644ca8c46cb89a3fe2a601666396e
SHA512: 1097ed948ecf2b342ec4eb54b891b52ff0c5fa15e3e816b64731a5e08af5d7a801bcbd2c42a034bf57eaa8b0121921fe85183cde5dbdbefa348ff966c4a52a73
Description-en: Toolkit for Tcl and X11 (default version) - windowing shell
Tk is a cross-platform graphical toolkit which provides the Motif
look-and-feel and is implemented using the Tcl scripting language.
.
This package is a dependency package, which depends on Debian's default
Tk version (currently 8.6).
Description-md5: c18f13af983cc9102503e0f44f8d4b2e
Task: ubuntustudio-desktop