How to Install and Uninstall python-tk Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 26,2024

1. Install "python-tk" package

Please follow the steps below to install python-tk on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install python-tk

2. Uninstall "python-tk" package

This guide let you learn how to uninstall python-tk on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the python-tk package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: python-tk
Architecture: amd64
Version: 2.7.18-1build1
Priority: optional
Section: universe/python
Source: python-stdlib-extensions
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 106
Provides: python2.7-tk
Depends: python2 (>= 2.7), python2 (<< 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
Filename: pool/universe/p/python-stdlib-extensions/python-tk_2.7.18-1build1_amd64.deb
Size: 25428
MD5sum: 84531695260ca24fc23d7f39a9c4d9ac
SHA1: 13fd97eb99d27661155d3a834658e70850f7a068
SHA256: dabab2aa131a1618b882572d397a7ea87e0afcca063bed08574069bd7d68f9e7
SHA512: c498f287dfd383d3f26728627a50e67c2bdddf2dd0528f1efc8ca629ee8bd34bd1ba90b006eb4696753df4e42524edb97af632a20f26760b70f364f06ceea564
Description: Tkinter - Writing Tk applications with Python2
Description-md5: 7de9414ff2f61adaf4a5ffe446938a7f