How To Install libjdns-dbg on Ubuntu 20.04

In this tutorial we learn how to install libjdns-dbg on Ubuntu 20.04. libjdns-dbg is Simple DNS queries library - debugging symbols

Introduction

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

What is libjdns-dbg

libjdns-dbg is:

JDNS is a simple DNS implementation that can perform normal DNS queries of any record type (notably SRV), as well as Multicast DNS queries and advertising.

This package contains the debugging symbols for debugging crashes in the jdns library. Build-Ids: e4d05f8236d8fb1290cc6685b8e3bd8c55966fd5

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

sudo apt-get -y install libjdns-dbg

Install libjdns-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjdns-dbg

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

sudo aptitude -y install libjdns-dbg

How To Uninstall libjdns-dbg on Ubuntu 20.04

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

sudo apt-get remove libjdns-dbg

Uninstall libjdns-dbg And Its Dependencies

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

sudo apt-get -y autoremove libjdns-dbg

Remove libjdns-dbg Configurations and Data

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

sudo apt-get -y purge libjdns-dbg

Remove libjdns-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjdns-dbg

References

Summary

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