How To Install memkind on AlmaLinux 8

In this tutorial we learn how to install memkind in AlmaLinux 8. memkind is User Extensible Heap Manager

Introduction

In this tutorial we learn how to install memkind on AlmaLinux 8.

What is memkind

The memkind library is an user extensible heap manager built on top of jemalloc which enables control of memory characteristics and a partitioning of the heap between kinds of memory. The kinds of memory are defined by operating system memory policies that have been applied to virtual address ranges. Memory characteristics supported by memkind without user extension include control of NUMA and page size features. The jemalloc non-standard interface has been extended to enable specialized arenas to make requests for virtual memory from the operating system through the memkind partition interface. Through the other memkind interfaces the user can control and extend memory partition features and allocate memory while selecting enabled features. This software is being made available for early evaluation. Feedback on design or implementation is greatly appreciated.

We can use yum or dnf to install memkind on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install memkind.

Install memkind on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install memkind using dnf by running the following command:

sudo dnf -y install memkind

Install memkind on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install memkind using yum by running the following command:

sudo yum -y install memkind

How To Uninstall memkind on AlmaLinux 8

To uninstall only the memkind package we can use the following command:

sudo dnf remove memkind

References

Summary

In this tutorial we learn how to install memkind on AlmaLinux 8 using yum and dnf.