How To Install libmount.x86_64 on Amazon Linux 2

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

Introduction

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

What is libmount.x86_64

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

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

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

sudo yum -y install libmount.x86_64

How To Uninstall libmount.x86_64 on Amazon Linux 2

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

sudo yum remove libmount.x86_64

libmount.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libmount.so.1
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.