How To Install python3-tk-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-tk-dbg on Ubuntu 20.04. python3-tk-dbg is Tkinter - Writing Tk applications with Python 3.x (debug extension) Tkinter - Writing Tk applications with Python 3.x (debug extension)

Introduction

In this tutorial we learn how to install python3-tk-dbg on Ubuntu 20.04.

What is python3-tk-dbg

python3-tk-dbg is:

A module for writing portable GUI applications with Python using Tk. Also known as Tkinter.

This package contains the extensions built for the python3 debug interpreter. Build-Ids: 268f953527868e479cef927d2e4aaf305b72b2f7 d49a6c7586441c22bf3c866f80e76d1402ed7c97

Package: python3-tk-dbg Architecture: amd64 Version: 3.8.2-1ubuntu1 Multi-Arch: same Priority: extra Section: python Source: python3-stdlib-extensions Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 569 Depends: python3-tk (= 3.8.2-1ubuntu1), blt (>= 2.4z-9), libc6 (>= 2.4), libtcl8.6 (>= 8.6.0), libtk8.6 (>= 8.6.0), tk8.6-blt2.5 (>= 2.5.3) Filename: pool/main/p/python3-stdlib-extensions/python3-tk-dbg_3.8.2-1ubuntu1_amd64.deb Size: 253548 MD5sum: 658f8f9b0eb40a30b2e50e80c625fe00 SHA1: 65756bd6f7f7fc1cfd9e007224b71297aa19e242 SHA256: c43c57de199f36d4000dff8e583b64ca5e104a853258d90997fdcda33ad3c97f Description-en: Tkinter - Writing Tk applications with Python 3.x (debug extension) A module for writing portable GUI applications with Python using Tk. Also known as Tkinter.

This package contains the extensions built for the python3 debug interpreter. Build-Ids: ceb0ceb0bb3363732dd3074cfda8d66bf95b47a0

There are three methods to install python3-tk-dbg on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-tk-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python3-tk-dbg using apt-get by running the following command:

sudo apt-get -y install python3-tk-dbg

Install python3-tk-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-tk-dbg using apt by running the following command:

sudo apt -y install python3-tk-dbg

Install python3-tk-dbg Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-tk-dbg using aptitude by running the following command:

sudo aptitude -y install python3-tk-dbg

How To Uninstall python3-tk-dbg on Ubuntu 20.04

To uninstall only the python3-tk-dbg package we can use the following command:

sudo apt-get remove python3-tk-dbg

Uninstall python3-tk-dbg And Its Dependencies

To uninstall python3-tk-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python3-tk-dbg

Remove python3-tk-dbg Configurations and Data

To remove python3-tk-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-tk-dbg

Remove python3-tk-dbg configuration, data, and all of its dependencies

We can use the following command to remove python3-tk-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-tk-dbg

References

Summary

In this tutorial we learn how to install python3-tk-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.