How to Look Up Dictionary through Terminal on Linux


If you’re a Linux person and use the command line for performing totally different duties. Then you may want a dictionary someplace to gain knowledge of concerning the which means of phrases. In case your system has no community connectivity so you could have to seek advice from an offline dictionary. One of the offline lookup dictionaries is dictd that could search for totally different phrases and their meanings. In this text, we’ll exhibit you the way to use the command line to lookup dictionary definitions promptly and readily making use of dictd.

How to Install dictd on Linux

The first step is to installation the dictd. This utility is used to entry dictionaries from the command line. To installation it run:

This command will installation the dict protocol in your Linux system.

How to Install dictd Offline Databases

To installation dict offline databases use:

$ sudo apt installation dict-gcide

Install dictd on CentOS, RHEL or Fedora

To installation dictd on CentOS, RHEL and Fedora use:

$ sudo yum installation dictd dict


$ sudo dnf installation dictd dict

Like Debian founded system you can still additionally installation the offline database on CentOS, Fedora or RHEL, use:

$ sudo yum installation gnome-dictionary


$ sudo dnf installation gnome-dictionary

How to Use dict Command

Now that you could have the dict protocol and a dictionary set up, you can still commence trying up definitions. To lookup a definition of a phrase run command:

Replace “[word]” with the phrase you need to lookup. For instance, to lookup definition of “CPU”, you’ll style:

This command will reveal the definition of “CPU” inside the terminal.

To open the dictd assist file in Linux, you can still use the “dict” command with the “-H” choice accompanied by the identify of the dictionary for which you need to see the assistance file.

For instance, to view the assistance file for the “gcide” dictionary, you can still run the subsequent command:

This will open the assistance file in your default terminal-based textual content editor, reminiscent of nano or vim. You can use the arrow keys to navigate because of the assistance file, and press “Q” to exit if you find yourself completed.


Looking up dictionary definitions from the command line is rapid and simple with the DICT protocol. By following the steps outlined listed here, you can still installation the protocol and dictionaries, and commence trying up definitions very quickly.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More