How To Install python3-gdbm-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-gdbm-dbg on Ubuntu 20.04. python3-gdbm-dbg is GNU dbm database support for Python 3.x (debug extension) GNU dbm database support for Python 3.x (debug extension)

Introduction

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

What is python3-gdbm-dbg

python3-gdbm-dbg is:

GNU dbm database module for Python 3.x. Install this if you want to create or read GNU dbm database files with Python.

This package contains the extensions built for the python3 debug interpreter. Build-Ids: 5b43c1cda3a8b701073e7bae25973fc9b3d72ff7 7ee73620cae2aadf35dd9cdd8d598d8d6ff44fbb

Package: python3-gdbm-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: 118 Depends: python3-gdbm (= 3.8.2-1ubuntu1), libc6 (>= 2.4), libgdbm6 (>= 1.16) Filename: pool/main/p/python3-stdlib-extensions/python3-gdbm-dbg_3.8.2-1ubuntu1_amd64.deb Size: 46000 MD5sum: 572d263a6d35c9f4dc6367ef2a9f9c5b SHA1: 9925aeef9ddcb25129d16567ae4aee9a26da1983 SHA256: 59e901ba7d4c88bf31154a9bf0b66bedd6c7807a50b7a636ede42776cc67678c Description-en: GNU dbm database support for Python 3.x (debug extension) GNU dbm database module for Python 3.x. Install this if you want to create or read GNU dbm database files with Python.

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

There are three methods to install python3-gdbm-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-gdbm-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-gdbm-dbg using apt-get by running the following command:

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

Install python3-gdbm-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-gdbm-dbg

Install python3-gdbm-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-gdbm-dbg using aptitude by running the following command:

sudo aptitude -y install python3-gdbm-dbg

How To Uninstall python3-gdbm-dbg on Ubuntu 20.04

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

sudo apt-get remove python3-gdbm-dbg

Uninstall python3-gdbm-dbg And Its Dependencies

To uninstall python3-gdbm-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-gdbm-dbg

Remove python3-gdbm-dbg Configurations and Data

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

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

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

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

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

References

Summary

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