evmctl command not found

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

Introduction

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

evmctl: command not found

or when using sudo you get the following error message

sudo: evmctl: command not found

Solutions to evmctl: command not found

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

In Ubuntu evmctl is provided by ima-evm-utils package.

ima-evm-utils is:

The package provides the Linux Integrity Measurement Architecture (IMA) Extended Verification Module (EVM) tools.

With EVM, the security sensitive extended attributes are verified against offline tampering.

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

sudo apt-get -y install ima-evm-utils

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

You can also use apt command to install ima-evm-utils.

sudo apt -y install ima-evm-utils

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

sudo aptitude install ima-evm-utils

Summary

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