multipathd command not found

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

Introduction

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

multipathd: command not found

or when using sudo you get the following error message

sudo: multipathd: command not found

Solutions to multipathd: command not found

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

In Ubuntu multipathd is provided by multipath-tools package.

multipath-tools is:

These tools are in charge of maintaining the disk multipath device maps and react to path and map events.

If you install this package you may have to change the way you address block devices. See README.Debian for details.

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

sudo apt-get -y install multipath-tools

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

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

sudo apt -y install multipath-tools

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

sudo aptitude install multipath-tools

Summary

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