ykclient command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ykclient: command not found
or when using sudo you get the following error message
sudo: ykclient: command not found
Solutions to ykclient: command not found
How To Fix ykclient: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ykclient is provided by libykclient-dev package.
libykclient-dev is:
YubiKeys are USB tokens that act like keyboards and generate one-time passwords (OTPs). The tokens are produced and sold by Yubico.
This library is used for talking to an online validation server such as yubikey-server-c, yubikey-server-php or yubikey-server-j.
This package contains the necessary files for developers, and a command line tool “ykclient” to perform OTP queries from the shell.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libykclient-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libykclient-dev.
sudo apt -y install libykclient-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libykclient-dev
Summary
In this tutorial we learn how to fix ykclient command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.