ods-hsmutil command not found

In this troubleshooting guide we learn how to fix ods-hsmutil command not found error message

Introduction

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

ods-hsmutil: command not found

or when using sudo you get the following error message

sudo: ods-hsmutil: command not found

Solutions to ods-hsmutil: command not found

How To Fix ods-hsmutil: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ods-hsmutil is provided by libhsm-bin package.

libhsm-bin is:

OpenDNSSEC is a complete DNSSEC zone signing system which is very easy to use with stability and security in mind. There are a lot of details in signing zone files with DNSSEC and OpenDNSSEC covers most of it.

Support library for interfacing PKCS#11 compatible Hardware Security Modules (HSM). This library allows programs to use cryptografic secure storages for keying material such as softhsm2 (HSM implemented in software), SCA6000, Aladdin eToken, OpenSC, nCipher or AEP Keyper.

This package contains command line tools.

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

sudo apt-get -y install libhsm-bin

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

You can also use apt command to install libhsm-bin.

sudo apt -y install libhsm-bin

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

sudo aptitude install libhsm-bin

Summary

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