Home > Máy tính > Stardict dictionary for Ubuntu

Stardict dictionary for Ubuntu

November 2nd, 2010 Leave a comment Go to comments

I am switching to Ubuntu from Windows. I still find a good alternative software to Babylon dictionary. The following post by Shevin satisfies my need. Thanks to the author.


Have you missed the Babylon program under windows , with all those good dictionaries?
here I will tell you how to make Babylon dictionaries work under ubuntu .

StarDict works like Babylon it is resident in memory , you select the word and it will show the definition in a small pop-up window fastly, ofcourse you can change the keys . (I changed it so when I press WIN key it show me the definition of the selected word) you can install StarDict using synaptic package manager easily .

How to make the Babylon dictionaries work in ubuntu(stardict)?

they have some dictionaries on StarDict site but compared to Babylon dictionaries they are so few.. first go to Babylon site and download the dictionary which you want to use , (I download Kurdish and Farsi ones)

Now we should convert the downloaded dictionary to StarDict format ,
there is a program named dictconv , to convert dictionary formats to each other (including Babylon to StarDict)

here we go :
1- download dictconv here . you should install it by source (don’t loose your pants , it is not hard)

2-Extract the zipped file which you downloaded , somewhere in your desktop .
3-Before we continue , open synaptic package manager and install “libxml2-dev” as it is needed for our program .

then go to the folder on the desktop

cd dictconv

4-then enter this :

sudo ./configure

5- if the previous thing was done without any error continue , if it gave you error , (it usualy tells you , you need to install something) solve the error and continue :

sudo make all install

Now it is installed ! but we still need another program
again go to synaptic package manager and install “dictzip”.

now here we go to convert the bayblon dictionary : for example mine is Farsi.BGL
I copy it to the desktop then

cd Desktop


dictconv Farsi.BGL -o Farsi.ifo

in this example Farsi.BGL is the one which I downloaded from Babylon site and Farsi.ifo is the name of the output file which I want to make .

if you have done it successfully ,it should generate 3 files !

one of those 3 generated files is Farsi.dict (Farsi in my case)
now we should do this :

dictzip Farsi.dict

this command changes our .dict file to .dz !

now we should have three files


create a folder on your desktop and move these 3 files to that folder .
and move those generated files to there , in my case I created Farsi in desktop and moved them
to the Farsi folder .

now we should move the whole things to the StarDict folder

sudo mv Farsi /usr/share/stardict/dic

and now I restart the StarDict and click on the “manager dictionaries” (it is in the Right Bottom corner of the window) and Enable the Farsi dictionary.

Thats all folks . I am enjoying Babylon dictionary under ubuntu !

(Source: http://blog.shevin.info/2007/04/how-to-implement-babylon-dictionaries.html)

  1. No comments yet.
  1. No trackbacks yet.