How To Install libmount.i686 on Amazon Linux 2

In this tutorial we learn how to install libmount.i686 in Amazon Linux 2. libmount.i686 is Device mounting library

Introduction

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

What is libmount.i686

This is the device mounting library, part of util-linux.

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

Install libmount.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 libmount.i686 using yum by running the following command:

sudo yum -y install libmount.i686

How To Uninstall libmount.i686 on Amazon Linux 2

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

sudo yum remove libmount.i686

libmount.i686 Package Contents on Amazon Linux 2

/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/share/licenses/libmount-2.30.2
/usr/share/licenses/libmount-2.30.2/COPYING
/usr/share/licenses/libmount-2.30.2/COPYING.LGPLv2.1

References

Summary

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