How To Install libdb5.3-dbg on Ubuntu 20.04

In this tutorial we learn how to install libdb5.3-dbg on Ubuntu 20.04. libdb5.3-dbg is Berkeley v5.3 Database Libraries [debug]

Introduction

In this tutorial we learn how to install libdb5.3-dbg on Ubuntu 20.04.

What is libdb5.3-dbg

libdb5.3-dbg is:

This package provides the debug symbols for the Berkeley v5.3 database libraries and binaries. Build-Ids: 2d877784bbcfae103ddd9e39b07415537744aba9 555ac9ff4b1eed391e0466f4a3d044cb98362ada 82bf54f94dbc2a443e86eace0a6545ede9e428c5 d945e4d0b5028cb230fb4178731f198c92515f36 e0211a8028e1be8eea3264497a75e3b0f45bf573 e2ad44a2831a874a9212abd4fd197a92d3332cc4

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

sudo apt-get -y install libdb5.3-dbg

Install libdb5.3-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdb5.3-dbg using apt by running the following command:

sudo apt -y install libdb5.3-dbg

Install libdb5.3-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 libdb5.3-dbg using aptitude by running the following command:

sudo aptitude -y install libdb5.3-dbg

How To Uninstall libdb5.3-dbg on Ubuntu 20.04

To uninstall only the libdb5.3-dbg package we can use the following command:

sudo apt-get remove libdb5.3-dbg

Uninstall libdb5.3-dbg And Its Dependencies

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

sudo apt-get -y autoremove libdb5.3-dbg

Remove libdb5.3-dbg Configurations and Data

To remove libdb5.3-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libdb5.3-dbg

Remove libdb5.3-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdb5.3-dbg

References

Summary

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