How To Install libnm-glib-vpn-dev on Debian 9

In this tutorial we learn how to install libnm-glib-vpn-dev on Debian 9. libnm-glib-vpn-dev is network management framework (GLib interface)

Introduction

In this tutorial we learn how to install libnm-glib-vpn-dev on Debian 9.

What is libnm-glib-vpn-dev

libnm-glib-vpn-dev is:

NetworkManager is a system network service that manages your network devices and connections, attempting to keep active network connectivity when available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE devices, and provides VPN integration with a variety of different VPN services.

This package contains header and development files for libnm-glib-vpn.

There are three methods to install libnm-glib-vpn-dev 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 libnm-glib-vpn-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 libnm-glib-vpn-dev using apt-get by running the following command:

sudo apt-get -y install libnm-glib-vpn-dev

Install libnm-glib-vpn-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnm-glib-vpn-dev

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

sudo aptitude -y install libnm-glib-vpn-dev

How To Uninstall libnm-glib-vpn-dev on Debian 9

To uninstall only the libnm-glib-vpn-dev package we can use the following command:

sudo apt-get remove libnm-glib-vpn-dev

Uninstall libnm-glib-vpn-dev And Its Dependencies

To uninstall libnm-glib-vpn-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libnm-glib-vpn-dev

Remove libnm-glib-vpn-dev Configurations and Data

To remove libnm-glib-vpn-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libnm-glib-vpn-dev

Remove libnm-glib-vpn-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnm-glib-vpn-dev

Dependencies

libnm-glib-vpn-dev have the following dependencies:

References

Summary

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