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

Last updated: November 07,2024

1. Install "python-tk" package

In this section, we are going to explain the necessary steps to install python-tk on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-tk

2. Uninstall "python-tk" package

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

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

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

Package: python-tk
Architecture: amd64
Version: 2.7.12-1~16.04
Priority: optional
Section: python
Source: python-stdlib-extensions
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93
Provides: python2.7-tk
Depends: python (>= 2.7), python (<< 2.8), blt (>= 2.4z-9), libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0), tk8.6-blt2.5 (>= 2.5.3)
Suggests: tix, python-tk-dbg
Conflicts: python2.3-tk, python2.4-tk
Replaces: python2.3-tk, python2.4-tk
Filename: pool/main/p/python-stdlib-extensions/python-tk_2.7.12-1~16.04_amd64.deb
Size: 26280
MD5sum: 8dac54b8ed1a1fd4258bb7ce3c5713a9
SHA1: db749e94d76306f8babab20af2c2f9ed15de201b
SHA256: 378e95a81b5bf4edac3e737f2426d27e5e63b245e8961b08c7771f4729120ab9
SHA512: a3bd3977d298d7410eb88774e8ef677386a5df43968c91ed0490bd84ec54448b3b686e1c2f9471275fb633037d1a50c9b867534b742d20ecc0e69e38184253d8
Description-en: Tkinter - Writing Tk applications with Python
A module for writing portable GUI applications with Python using Tk.
Also known as Tkinter.
Description-md5: ade58d77904b3fac3495009bcd8b0115
Task: edubuntu-desktop-gnome, ubuntustudio-publishing
Supported: 5y

Package: python-tk
Priority: optional
Section: python
Installed-Size: 93
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: python-stdlib-extensions
Version: 2.7.11-2
Replaces: python2.3-tk, python2.4-tk
Provides: python2.7-tk
Depends: python (>= 2.7), python (<< 2.8), blt (>= 2.4z-9), libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0), tk8.6-blt2.5 (>= 2.5.3)
Suggests: tix, python-tk-dbg
Conflicts: python2.3-tk, python2.4-tk
Filename: pool/main/p/python-stdlib-extensions/python-tk_2.7.11-2_amd64.deb
Size: 26188
MD5sum: 5aed08d41bc50ce731258870b9da6ad2
SHA1: 5974be0371c9a2dba3b6d27462e2cca06ee48037
SHA256: a3a58af35bfad2325fe8ca99572e044aef5b0201e3848da7fef0e1fb1b966ad9
Description-en: Tkinter - Writing Tk applications with Python
A module for writing portable GUI applications with Python using Tk.
Also known as Tkinter.
Description-md5: ade58d77904b3fac3495009bcd8b0115
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: edubuntu-desktop-gnome, ubuntustudio-publishing