How To Install libnl-idiag-3-200 on Debian 9

In this tutorial we learn how to install libnl-idiag-3-200 on Debian 9. libnl-idiag-3-200 is library for dealing with netlink sockets - inetdiag interface

Introduction

In this tutorial we learn how to install libnl-idiag-3-200 on Debian 9.

What is libnl-idiag-3-200

libnl-idiag-3-200 is:

This is a library for applications dealing with netlink sockets. The library provides an interface for raw netlink messaging and various netlink family specific interfaces.

API to the inetdiag netlink protocol, handling inetdiag requests

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

Install libnl-idiag-3-200 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libnl-idiag-3-200 using apt-get by running the following command:

sudo apt-get -y install libnl-idiag-3-200

Install libnl-idiag-3-200 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnl-idiag-3-200 using apt by running the following command:

sudo apt -y install libnl-idiag-3-200

Install libnl-idiag-3-200 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 libnl-idiag-3-200 using aptitude by running the following command:

sudo aptitude -y install libnl-idiag-3-200

How To Uninstall libnl-idiag-3-200 on Debian 9

To uninstall only the libnl-idiag-3-200 package we can use the following command:

sudo apt-get remove libnl-idiag-3-200

Uninstall libnl-idiag-3-200 And Its Dependencies

To uninstall libnl-idiag-3-200 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libnl-idiag-3-200

Remove libnl-idiag-3-200 Configurations and Data

To remove libnl-idiag-3-200 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libnl-idiag-3-200

Remove libnl-idiag-3-200 configuration, data, and all of its dependencies

We can use the following command to remove libnl-idiag-3-200 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnl-idiag-3-200

Dependencies

libnl-idiag-3-200 have the following dependencies:

References

Summary

In this tutorial we learn how to install libnl-idiag-3-200 package on Debian 9 using different package management tools: apt, apt-get and aptitude.