zooinspector command not found

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

Introduction

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

zooinspector: command not found

or when using sudo you get the following error message

sudo: zooinspector: command not found

Solutions to zooinspector: command not found

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

In Ubuntu zooinspector is provided by zookeeper package.

zookeeper is:

ZooKeeper is a centralized, reliable, service for maintaining configuration information, naming, providing distributed synchronization, and group services. All of these kinds of services are used in some form or another by distributed applications.

This package contains the shell scripts and an example configuration but does not automatically start up the service. The example configuration is installed with the update-alternatives mechanism.

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

sudo apt-get -y install zookeeper

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

You can also use apt command to install zookeeper.

sudo apt -y install zookeeper

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

sudo aptitude install zookeeper

Summary

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