How To Install liblockfile.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install liblockfile.x86_64 on Amazon Linux 2.
What is liblockfile.x86_64
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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install liblockfile.x86_64.
Install liblockfile.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 liblockfile.x86_64 using yum by running the following command:
sudo yum -y install liblockfile.x86_64
How To Uninstall liblockfile.x86_64 on Amazon Linux 2
To uninstall only the liblockfile.x86_64 package we can use the following command:
sudo yum remove liblockfile.x86_64
liblockfile.x86_64 Package Contents on Amazon Linux 2
/usr/bin/dotlockfile
/usr/lib64/liblockfile.so.1
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.