How To Install libnl-genl-3-200 on Ubuntu 18.04

In this tutorial we learn how to install libnl-genl-3-200 on Ubuntu 18.04. libnl-genl-3-200 is library for dealing with netlink sockets - generic netlink

Introduction

In this tutorial we learn how to install libnl-genl-3-200 on Ubuntu 18.04.

What is libnl-genl-3-200

libnl-genl-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 generic netlink protocol, an extended version of the netlink protocol.

There are three methods to install libnl-genl-3-200 on Ubuntu 18.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 libnl-genl-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-genl-3-200 using apt-get by running the following command:

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

Install libnl-genl-3-200 Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install libnl-genl-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

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

How To Uninstall libnl-genl-3-200 on Ubuntu 18.04

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

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

Uninstall libnl-genl-3-200 And Its Dependencies

To uninstall libnl-genl-3-200 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

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

Remove libnl-genl-3-200 Configurations and Data

To remove libnl-genl-3-200 configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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