How to Install and Uninstall python3-tk Package on Debian 11 (Bullseye)

Last updated: March 28,2024

1. Install "python3-tk" package

This tutorial shows how to install python3-tk on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-tk

2. Uninstall "python3-tk" package

Here is a brief guide to show you how to uninstall python3-tk on Debian 11 (Bullseye):

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

3. Information about the python3-tk package on Debian 11 (Bullseye)

Package: python3-tk
Source: python3-stdlib-extensions
Version: 3.9.2-1
Installed-Size: 462
Maintainer: Matthias Klose
Architecture: amd64
Replaces: libpython3.6-stdlib (<< 3.6.4~rc1-2), libpython3.7-stdlib (<< 3.7.0~a3-2)
Provides: python3.9-tk
Depends: python3 (>= 3.9.1-0~), python3 (<< 3.10), 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.9.2-1_amd64.deb
Size: 100592
MD5sum: 96cc6b012ac1bbe16f7810e6ecf0e4fa
SHA256: 272db7708d60675b6aaea98aef64131e2bc9ec443ad677ef247d341632d9ef07