How To Install goldendict on Debian 10

Learn how to install goldendict on Debian 10 with this tutorial. goldendict is feature-rich dictionary lookup program

Introduction

In this tutorial we learn how to install goldendict on Debian 10.

What is goldendict

goldendict is:

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.
  • 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 5 interface.

There are three methods to install goldendict on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install goldendict Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install goldendict using apt-get by running the following command:

sudo apt-get -y install goldendict

Install goldendict Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install goldendict using apt by running the following command:

sudo apt -y install goldendict

Install goldendict Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install goldendict using aptitude by running the following command:

sudo aptitude -y install goldendict

How To Uninstall goldendict on Debian 10

To uninstall only the goldendict package we can use the following command:

sudo apt-get remove goldendict

Uninstall goldendict And Its Dependencies

To uninstall goldendict and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove goldendict

Remove goldendict Configurations and Data

To remove goldendict configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge goldendict

Remove goldendict configuration, data, and all of its dependencies

We can use the following command to remove goldendict configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge goldendict

Dependencies

goldendict have the following dependencies:

References

Summary

In this tutorial we learn how to install goldendict package on Debian 10 using different package management tools: apt, apt-get and aptitude.