Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Thursday, May 31, 2018 at 23:03

This tutorial explains how to install StarDict dictionary program on Ubuntu 18.04 and to add language dictionary files to it. For example, you can have your own English-to-Indonesia and Indonesia-to-English, with Stardict. You can add many more language dictionaries from the internet and I mention in the end the links to download them. Happy learning, enjoy StarDict!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

Read also Ubuntu 18.04 Review, how to install it, and recommendations after installing.

1. Install StarDict

Fortunately, StarDict is still available on 18.04's repo. So install it:
$ sudo apt-get install stardict

When you run it, it looks like this:

Stardict on Kubuntu 18.04

2. Download Dictionary Files

I give you examples of English-Indonesia and Indonesia-English dictionaries. You download the files, then put them in special folder of Stardict, and finally Stardict reads you those dictionaries. Same goes for another language dictionaries. Download both here: (great thanks to Huzheng!).

Then extract them to your  ~/Downloads/  folder. The result is you have two folders now with each folder contains .idx, .ifo, and files.

After extracting the dictionary packages

3. Install Dictionary Files

To make Stardict working with certain dictionary, the folder of the dictionary should be placed to /usr/share/stardict/dic/. Here is how to do it:

1) Go to where extracted dictionaries stored:
$ cd ~/Downloads/

2) Move the dictionaries to the right place:
sudo mv -v stardict-quick_ind-eng-2.4.2/  /usr/share/stardict/dic/
sudo mv -v stardict-quick_eng-ind-2.4.2/  /usr/share/stardict/dic/

That's all.

How to type the commands on Terminal

Run Stardict

Then run Stardict and try to query an English or Indonesia word in it. Then, try to select with your cursor any word on your browser and let Stardict shows the meaning to you. Pretty cool, right?

This GIF demonstrates the former:

Stardict searching word meaning

And this GIF does the latter:

Stardict scanning

Finally, you can install any other language you wish if you have the dictionary files. See below to download them.

List of Stardict Dictionary Files Providers

This list contains websites where you can download many language dictionaries and other dictionaries at no cost (gratis). Great thanks to the authors of these sites like Huzheng again, tuxor1337, and all.

StarDict websites:

Dictionary files:

Other important sources:

If you have server space, please help mirror these important sites.

This article is licensed under CC BY-SA 3.0.