kxc-cryptsetup command not found

In this troubleshooting guide we learn how to fix kxc-cryptsetup command not found error message

Introduction

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

kxc-cryptsetup: command not found

or when using sudo you get the following error message

sudo: kxc-cryptsetup: command not found

Solutions to kxc-cryptsetup: command not found

How To Fix kxc-cryptsetup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kxc-cryptsetup is provided by kxc package.

kxc is:

kxd is a key exchange daemon, which serves blobs of data (keys) over https.

It can be used to get keys remotely instead of using local storage. The main use case is to get keys to open dm-crypt devices automatically, without having to store them on the local machine.

This package provides the client part of kxd.

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

sudo apt-get -y install kxc

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

You can also use apt command to install kxc.

sudo apt -y install kxc

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

sudo aptitude install kxc

Summary

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