It is based on Tk version >= 8.3 and uses the agrep or egrep tools for searching.
It has many configuration options, such as search preferences, interface language (English or German), colors. It has history and help functions and comes with useful key and mouse bindings for quick and easy lookups.
his package needs agrep or egrep as a back end. 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.
Install ding in ubuntu
Open the terminal and run the following command
sudo apt-get install ding trans-de-en
Note:- A German-English translation dictionary.If you want another one you have to install accordingly