keydctl command not found

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

Introduction

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

keydctl: command not found

or when using sudo you get the following error message

sudo: keydctl: command not found

Solutions to keydctl: command not found

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

In Ubuntu keydctl is provided by onak package.

onak is:

onak is an OpenPGP compatible keyserver which supports multiple subkeys, photo ids and path finding between keys. It can provide an HKP compatible interface for use with the –keyserver option of gnupg as well as including a command line tool for querying the key database.

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

sudo apt-get -y install onak

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

You can also use apt command to install onak.

sudo apt -y install onak

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

sudo aptitude install onak

Summary

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