dht command not found
In this troubleshooting guide we learn how to fix dht command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
dht: command not found
or when using sudo you get the following error message
sudo: dht: command not found
Solutions to dht: command not found
How To Fix dht: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dht is provided by pkg-haskell-tools package.
pkg-haskell-tools is:
This package provides various convenience tools used by the Debian Haskell Group.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pkg-haskell-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pkg-haskell-tools.
sudo apt -y install pkg-haskell-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install pkg-haskell-tools
Summary
In this tutorial we learn how to fix dht command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.