sanoid command not found

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

Introduction

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

sanoid: command not found

or when using sudo you get the following error message

sudo: sanoid: command not found

Solutions to sanoid: command not found

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

In Ubuntu sanoid is provided by sanoid package.

sanoid is:

Sanoid is a policy-driven snapshot management and replication tool for ZFS filesystems.

More prosaically, you can use Sanoid to create, automatically thin, and monitor snapshots and pool health from a single eminently human-readable TOML config file. Sanoid also includes a replication tool, syncoid, which facilitates the asynchronous incremental replication of ZFS filesystems.

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

sudo apt-get -y install sanoid

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

You can also use apt command to install sanoid.

sudo apt -y install sanoid

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

sudo aptitude install sanoid

Summary

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