ding command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ding: command not found
or when using sudo you get the following error message
sudo: ding: command not found
Solutions to ding: command not found
How To Fix ding: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ding is provided by ding package.
ding is:
This is “Ding”
- a dictionary lookup program for Unix,
- DIctionary Nice Grep,
- a Tk based Front-End to [ae]grep, (hun|a|i)spell, dict, …
- Ding {n} :: thing
This package needs tre-agrep(1), agrep(1) or egrep(1) as a back end. (tre-)agrep is preferable, because it supports fault tolerant searching.
You have to install some translation dictionary word list with a word/phrase in two languages in one line with some kind of separator between them. The default configuration of ding uses the German-English dictionary which can be found in the trans-de-en package, but you can use every other translation word lists with one entry per line.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ding
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ding.
sudo apt -y install ding
Or if you have aptitude installed you can use the following command.
sudo aptitude install ding
Summary
In this tutorial we learn how to fix ding command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.