zed command not found

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

Introduction

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

zed: command not found

or when using sudo you get the following error message

sudo: zed: command not found

Solutions to zed: command not found

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

In Ubuntu zed is provided by zfs-zed package.

zfs-zed is:

OpenZFS is a storage platform that encompasses the functionality of traditional filesystems and volume managers. It supports data checksums, compression, encryption, snapshots, and more.

ZED (ZFS Event Daemon) monitors events generated by the ZFS kernel module. When a zevent (ZFS Event) is posted, ZED will run any ZEDLETs (ZFS Event Daemon Linkage for Executable Tasks) that have been enabled for the corresponding zevent class.

This package provides the OpenZFS Event Daemon (zed).

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

sudo apt-get -y install zfs-zed

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

You can also use apt command to install zfs-zed.

sudo apt -y install zfs-zed

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

sudo aptitude install zfs-zed

Summary

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