modhex command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
modhex: command not found
or when using sudo you get the following error message
sudo: modhex: command not found
Solutions to modhex: command not found
How To Fix modhex: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu modhex is provided by libyubikey-dev package.
libyubikey-dev is:
Yubikeys are USB tokens that act like keyboards and generate one-time passwords. The tokens are produced and sold by Yubico
This library is used for decrypting the one-time passwords into their various components.
This package contains the necessary files for developing using libyubikey.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libyubikey-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libyubikey-dev.
sudo apt -y install libyubikey-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libyubikey-dev
Summary
In this tutorial we learn how to fix modhex command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.