How to Install and Uninstall tk Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "tk" package

This is a short guide on how to install tk on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install tk

2. Uninstall "tk" package

Here is a brief guide to show you how to uninstall tk on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the tk package on Ubuntu 20.04 LTS (Focal Fossa)

Package: tk
Architecture: amd64
Version: 8.6.9+1
Multi-Arch: foreign
Priority: optional
Section: universe/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.9-2), 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/universe/t/tcltk-defaults/tk_8.6.9+1_amd64.deb
Size: 3240
MD5sum: ef5cba4bb070fd386f5b983537bdcb35
SHA1: 8d95a106ee07fa8d9329677e4072ff73577aad80
SHA256: 54226bf86a368c8a825ed2caecc6f3c14b039237548803d9d4b7cb67f87c60ae
Description: Toolkit for Tcl and X11 (default version) - windowing shell
Description-md5: c18f13af983cc9102503e0f44f8d4b2e
Task: ubuntustudio-desktop-core, ubuntustudio-desktop