memkind-auto-dax-kmem-nodes command not found

In this troubleshooting guide we learn how to fix memkind-auto-dax-kmem-nodes command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

memkind-auto-dax-kmem-nodes: command not found

or when using sudo you get the following error message

sudo: memkind-auto-dax-kmem-nodes: command not found

Solutions to memkind-auto-dax-kmem-nodes: command not found

How To Fix memkind-auto-dax-kmem-nodes: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu memkind-auto-dax-kmem-nodes is provided by libmemkind-progs package.

libmemkind-progs is:

The memkind library is a 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. While arbitrary user control is possible, built-in characteristics include NUMA and page size.

This package contains support programs that use libmemkind.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libmemkind-progs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libmemkind-progs.

sudo apt -y install libmemkind-progs

Or if you have aptitude installed you can use the following command.

sudo aptitude install libmemkind-progs

Summary

In this tutorial we learn how to fix memkind-auto-dax-kmem-nodes command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.