fsverity command not found

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

Introduction

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

fsverity: command not found

or when using sudo you get the following error message

sudo: fsverity: command not found

Solutions to fsverity: command not found

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

In Ubuntu fsverity is provided by fsverity package.

fsverity is:

fs-verity is a Linux kernel feature that does transparent on-demand integrity/authenticity verification of the contents of read-only files, using a hidden Merkle tree (hash tree) associated with the file. The mechanism is similar to dm-verity, but implemented at the file level rather than at the block device level.

This package contains the fsverity utility

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

sudo apt-get -y install fsverity

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

You can also use apt command to install fsverity.

sudo apt -y install fsverity

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

sudo aptitude install fsverity

Summary

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