kcm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kcm: command not found
or when using sudo you get the following error message
sudo: kcm: command not found
Solutions to kcm: command not found
How To Fix kcm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kcm is provided by heimdal-kcm package.
heimdal-kcm is:
Heimdal is a free implementation of Kerberos 5 that aims to be compatible with MIT Kerberos.
This package includes the KCM daemon which can hold the credentials for all users in the system. Access control is done with Unix-like permissions. The daemon checks the access on all operations based on the UID and GID of the user. The tickets are renewed as long as is permitted by the KDC’s policy.
To fix this problem, we can install more using the command below.
sudo apt-get -y install heimdal-kcm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install heimdal-kcm.
sudo apt -y install heimdal-kcm
Or if you have aptitude installed you can use the following command.
sudo aptitude install heimdal-kcm
Summary
In this tutorial we learn how to fix kcm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.