How to Install and Uninstall tk Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 12,2024

1. Install "tk" package

This guide covers the steps necessary to install tk on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install tk

2. Uninstall "tk" package

Please follow the step by step instructions below to uninstall tk on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the tk package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: tk
Priority: optional
Section: libs
Installed-Size: 21
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Tcl/Tk Packagers
Architecture: amd64
Source: tcltk-defaults
Version: 8.6.0+9
Provides: wish
Depends: tk8.6 (>= 8.6.0-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/main/t/tcltk-defaults/tk_8.6.0+9_amd64.deb
Size: 3178
MD5sum: ac9c7f59c64d2e6574230de468c955cd
SHA1: 485767720808e8a66193e15eca22d0d177d49081
SHA256: a158d36580f6d66ee5765ee83a2e8721de9dfc3ee5159cc98d8796a096e45940
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
Multi-Arch: foreign
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, kubuntu-desktop, edubuntu-desktop, edubuntu-usb, xubuntu-core, xubuntu-desktop, mythbuntu-desktop, lubuntu-core, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop