How To Install liblockfile-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install liblockfile-devel.x86_64 in Amazon Linux 2. liblockfile-devel.x86_64 is Development files for liblockfile

Introduction

In this tutorial we learn how to install liblockfile-devel.x86_64 on Amazon Linux 2.

What is liblockfile-devel.x86_64

The liblockfile-devel package contains libraries and header files for developing applications that use liblockfile.

We can use yum to install liblockfile-devel.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-devel.x86_64.

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

sudo yum -y install liblockfile-devel.x86_64

How To Uninstall liblockfile-devel.x86_64 on Amazon Linux 2

To uninstall only the liblockfile-devel.x86_64 package we can use the following command:

sudo yum remove liblockfile-devel.x86_64

liblockfile-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/lockfile.h
/usr/include/maillock.h
/usr/lib64/liblockfile.so
/usr/share/man/man3/lockfile_create.3.gz
/usr/share/man/man3/maillock.3.gz

References

Summary

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