How to Install and Uninstall python3-tk Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "python3-tk" package

This guide covers the steps necessary to install python3-tk on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-tk

2. Uninstall "python3-tk" package

This tutorial shows how to uninstall python3-tk on Debian 12 (Bookworm):

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

3. Information about the python3-tk package on Debian 12 (Bookworm)

Package: python3-tk
Source: python3-stdlib-extensions
Version: 3.11.2-3
Installed-Size: 457
Maintainer: Matthias Klose
Architecture: amd64
Replaces: libpython3.6-stdlib (<< 3.6.4~rc1-2), libpython3.7-stdlib (<< 3.7.0~a3-2)
Provides: python3.11-tk
Depends: python3 (>= 3.10.8-0~), python3 (<< 3.12), 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, python3-tk-dbg
Breaks: libpython3.6-stdlib (<< 3.6.4~rc1-2), libpython3.7-stdlib (<< 3.7.0~a3-2)
Description: Tkinter - Writing Tk applications with Python 3.x
Description-md5: 23263ef24020072cb878ca2432c298ba
Multi-Arch: same
Section: python
Priority: optional
Filename: pool/main/p/python3-stdlib-extensions/python3-tk_3.11.2-3_amd64.deb
Size: 98304
MD5sum: 53e17222e0220bb9e9522ffcbe0d23b5
SHA256: 33badffb9316204fda015b1a9d331c03bd322dfbb217930de5dd5ca95b6af7d2