How To Install hardlink.x86_64 on Amazon Linux 2

In this tutorial we learn how to install hardlink.x86_64 in Amazon Linux 2. hardlink.x86_64 is Create a tree of hardlinks

Introduction

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

What is hardlink.x86_64

hardlink is used to create a tree of hard links. It’s used by kernel installation to dramatically reduce the amount of disk space used by each kernel package installed.

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

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

sudo yum -y install hardlink.x86_64

How To Uninstall hardlink.x86_64 on Amazon Linux 2

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

sudo yum remove hardlink.x86_64

hardlink.x86_64 Package Contents on Amazon Linux 2

/usr/sbin/hardlink
/usr/share/licenses/hardlink-1.3
/usr/share/licenses/hardlink-1.3/gpl-2.0.txt
/usr/share/man/man1/hardlink.1.gz

References

Summary

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