How To Install nlinline-dev on Debian 12

Learn how to install nlinline-dev on Debian 12 with this tutorial. nlinline-dev is inline library for networking configuration (via netlink)

Introduction

In this tutorial we learn how to install nlinline-dev on Debian 12.

What is nlinline-dev

nlinline-dev is:

nlinline (netlink inline) is a library of inline functions providing C programmers with very handy functions to configure network stacks. nlinline is entirely implemented in a header file, nlinline.h.

This package contains the development files used for C programs.

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

Install nlinline-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 nlinline-dev using apt-get by running the following command:

sudo apt-get -y install nlinline-dev

Install nlinline-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nlinline-dev

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

sudo aptitude -y install nlinline-dev

How To Uninstall nlinline-dev on Debian 12

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

sudo apt-get remove nlinline-dev

Uninstall nlinline-dev And Its Dependencies

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

sudo apt-get -y autoremove nlinline-dev

Remove nlinline-dev Configurations and Data

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

sudo apt-get -y purge nlinline-dev

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

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

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

Dependencies

nlinline-dev have the following dependencies:

References

Summary

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