pmempool command not found

In this troubleshooting guide we learn how to fix pmempool command not found error message

Introduction

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

pmempool: command not found

or when using sudo you get the following error message

sudo: pmempool: command not found

Solutions to pmempool: command not found

How To Fix pmempool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pmempool is provided by pmdk-tools package.

pmdk-tools is:

The main purpose of this package is to provide a user with a set of utilities for off-line analysis and manipulation of pools created by pmem libraries.

The utilities may be useful for troubleshooting by system administrators and for software developers who work on applications based on these libraries. The latter may find these tools useful for testing and debugging purposes also.

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

sudo apt-get -y install pmdk-tools

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

You can also use apt command to install pmdk-tools.

sudo apt -y install pmdk-tools

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

sudo aptitude install pmdk-tools

Summary

In this tutorial we learn how to fix pmempool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.