ktutil.heimdal command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ktutil.heimdal: command not found
or when using sudo you get the following error message
sudo: ktutil.heimdal: command not found
Solutions to ktutil.heimdal: command not found
How To Fix ktutil.heimdal: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ktutil.heimdal is provided by heimdal-clients package.
heimdal-clients is:
Heimdal is a free implementation of Kerberos 5 that aims to be compatible with MIT Kerberos.
This package includes Kerberos utilities like kadmin, kinit, kpasswd and klist.
To fix this problem, we can install more using the command below.
sudo apt-get -y install heimdal-clients
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install heimdal-clients.
sudo apt -y install heimdal-clients
Or if you have aptitude installed you can use the following command.
sudo aptitude install heimdal-clients
Summary
In this tutorial we learn how to fix ktutil.heimdal command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.