How To Install liblockfile.i686 on Amazon Linux 2

In this tutorial we learn how to install liblockfile.i686 in Amazon Linux 2. liblockfile.i686 is This implements a number of functions found in -lmail on SysV

Introduction

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

What is liblockfile.i686

This library implements a number of functions found in -lmail on SysV systems. These functions are designed to lock the standard mailboxes in /var/mail (or wherever the system puts them). In additions, this library adds a number of functions to create, manage and remove generic lockfiles.

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

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

sudo yum -y install liblockfile.i686

How To Uninstall liblockfile.i686 on Amazon Linux 2

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

sudo yum remove liblockfile.i686

liblockfile.i686 Package Contents on Amazon Linux 2

/usr/bin/dotlockfile
/usr/lib/liblockfile.so.1
/usr/lib/liblockfile.so.1.0
/usr/share/doc/liblockfile-1.08
/usr/share/doc/liblockfile-1.08/COPYRIGHT
/usr/share/doc/liblockfile-1.08/Changelog
/usr/share/doc/liblockfile-1.08/README
/usr/share/man/man1/dotlockfile.1.gz

References

Summary

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