How To Install libmnl.i686 on Amazon Linux 2

In this tutorial we learn how to install libmnl.i686 in Amazon Linux 2. libmnl.i686 is A minimalistic Netlink library

Introduction

In this tutorial we learn how to install libmnl.i686 on Amazon Linux 2.

What is libmnl.i686

libmnl is a minimalistic user-space library oriented to Netlink developers. There are a lot of common tasks in parsing, validating, constructing of both the Netlink header and TLVs that are repetitive and easy to get wrong. This library aims to provide simple helpers that allows you to re-use code and to avoid re-inventing the wheel.

We can use yum to install libmnl.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libmnl.i686.

Install libmnl.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libmnl.i686 using yum by running the following command:

sudo yum -y install libmnl.i686

How To Uninstall libmnl.i686 on Amazon Linux 2

To uninstall only the libmnl.i686 package we can use the following command:

sudo yum remove libmnl.i686

libmnl.i686 Package Contents on Amazon Linux 2

/usr/lib/libmnl.so.0
/usr/lib/libmnl.so.0.1.0
/usr/share/doc/libmnl-1.0.3
/usr/share/doc/libmnl-1.0.3/COPYING
/usr/share/doc/libmnl-1.0.3/README

References

Summary

In this tutorial we learn how to install libmnl.i686 on Amazon Linux 2 using yum.