osdmaptool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
osdmaptool: command not found
or when using sudo you get the following error message
sudo: osdmaptool: command not found
Solutions to osdmaptool: command not found
How To Fix osdmaptool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu osdmaptool is provided by ceph-base package.
ceph-base is:
Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.
This package contains the libraries and management tools that are common among the Ceph server daemons (ceph-mon, ceph-mgr, ceph-osd, ceph-mds). These tools are necessary for creating, running, and administering a Ceph storage cluster.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ceph-base
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ceph-base.
sudo apt -y install ceph-base
Or if you have aptitude installed you can use the following command.
sudo aptitude install ceph-base
Summary
In this tutorial we learn how to fix osdmaptool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.