How To Install libhugetlbfs-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libhugetlbfs-utils.x86_64 in Amazon Linux 2. libhugetlbfs-utils.x86_64 is Userspace utilities for configuring the hugepage environment

Introduction

In this tutorial we learn how to install libhugetlbfs-utils.x86_64 on Amazon Linux 2.

What is libhugetlbfs-utils.x86_64

This packages contains a number of utilities that will help administrate the use of huge pages on your system. hugeedit modifies binaries to set default segment remapping behavior. hugectl sets environment variables for using huge pages and then execs the target program. hugeadm gives easy access to huge page pool size control. pagesize lists page sizes available on the machine.

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

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

sudo yum -y install libhugetlbfs-utils.x86_64

How To Uninstall libhugetlbfs-utils.x86_64 on Amazon Linux 2

To uninstall only the libhugetlbfs-utils.x86_64 package we can use the following command:

sudo yum remove libhugetlbfs-utils.x86_64

libhugetlbfs-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/huge_page_setup_helper.py
/usr/bin/hugeadm
/usr/bin/hugectl
/usr/bin/hugeedit
/usr/bin/pagesize
/usr/share/man/man1/ld.hugetlbfs.1.gz
/usr/share/man/man1/pagesize.1.gz
/usr/share/man/man8/hugeadm.8.gz
/usr/share/man/man8/hugectl.8.gz
/usr/share/man/man8/hugeedit.8.gz

References

Summary

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