Feb 20, 2012

How to install GoldenDict on CentOS 6.x

GoldenDict is an excellent dictionary engine. With abilitity to accept many types of dictionary file input, it free us up from individual dictionary products. This dictionary is not provied on CentOS repositories by default, but we can download and compile it from source codes. Just preparing to fight ...



  • Check for dependencies:


On CentOS, we need these packages for successfully compiling:

vorbis-tools-1.2.0-7.el6.i686 libvorbis-1.2.3-4.el6_2.1.i686
libvorbis-devel-1.2.3-4.el6_2.1.i686

zlib-devel-1.2.3-27.el6.i686
zlib-1.2.3-27.el6.i686

hunspell-devel-1.2.8-16.el6.i686

xorg-x11-proto-devel-7.6-13.el6.noarch

qt-4.6.2-20.el6.i686 qt-devel-4.6.2-20.el6.i686

phonon-devel-4.3.1 (rebuild from src.rpm of Fedora 16)

libXtst bzip2-devel git

  • Get the latest source-code with GIT


git clone https://github.com/goldendict/goldendict.git

  • build the source-codes


cd goldendict && qmake && make

  • install


run: make install with root priviledges to system-wide installation

Finally, invoke it and enjoy ;)

Features


The program has the following features:

  • Use of WebKit for an accurate articles' representation, complete with all formatting, colors, images and links.

  • Support of multiple dictionary file formats, namely:

    • Babylon .BGL files, complete with images and resources

    • StarDict .ifo/.dict./.idx/.syn dictionaries

    • Dictd .index/.dict(.dz) dictionary files

    • ABBYY Lingvo .dsl source files, together with abbreviations. The files can be optionally compressed with dictzip. Dictionary resources can be packed together into a .zip file.

    • ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed separately, or be referred to from .dsl files.



  • Support for Wikipedia, Wiktionary, or any other MediaWiki-based sites to perform lookups in.

  • Ability to use arbitrary websites as dictionaries via templated Url patterns.

  • Ability to run arbitrary external programs for audio playback or content generation (text-to-speech, man pages etc) (use the latest Git version for this)

  • Support for looking up and listening to pronunciations from forvo.com

  • Hunspell-based morphology system, used for word stemming and spelling suggestions.

  • Ability to index arbitrary directories with audio files for pronunciation lookups.

  • Full Unicode case, diacritics, punctuation and whitespace folding. This means the ability to type in words without any accents, correct case, punctuation or spaces (e.g. typing 'Grussen' would yield 'grüßen' in German dictionaries).

  • Scan popup functionality. A small window pops up with the translation of a word chosen from another application.

  • Support for global hotkeys. You can spawn the program window at any point, or directly translate a word from the clipboard.

  • Tabbed browsing in a modern Qt 4 interface.

  • Cross-platform: Linux/X11 and Windows + portable to others.

  • Free software: GNU GPLv3+ license.



libXtst

1 comment:

  1. i love your blog, i have it in my rss reader and always like new things coming up from it.

    ReplyDelete