How To Install libbind-dev on Debian 10

Learn how to install libbind-dev on Debian 10 with this tutorial. libbind-dev is Static Libraries and Headers used by BIND

Introduction

In this tutorial we learn how to install libbind-dev on Debian 10.

What is libbind-dev

libbind-dev is:

This package delivers archive-style libraries, header files, and API man pages for libbind, libdns, libisc, and liblwres. These are only needed if you want to compile other packages that need more nameserver API than the resolver code provided in libc.

There are three methods to install libbind-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libbind-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install libbind-dev using apt-get by running the following command:

sudo apt-get -y install libbind-dev

Install libbind-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libbind-dev

Install libbind-dev 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libbind-dev using aptitude by running the following command:

sudo aptitude -y install libbind-dev

How To Uninstall libbind-dev on Debian 10

To uninstall only the libbind-dev package we can use the following command:

sudo apt-get remove libbind-dev

Uninstall libbind-dev And Its Dependencies

To uninstall libbind-dev and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libbind-dev

Remove libbind-dev Configurations and Data

To remove libbind-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libbind-dev

Remove libbind-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbind-dev

Dependencies

libbind-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libbind-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.