www/INSTALL.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 01 Jun 2016 15:39:06 +0300
changeset 486 fa189b70b61f
parent 484 91254be1b84c
child 498 78f1ec07fe20
permissions -rw-r--r--
Update release date.

.. -*- coding: utf-8 -*-

================================
 Installing gadict dictionaries
================================
.. contents::
   :local:

Downloading
===========

Official sources and compiled builds are available at:

* http://gadict.defun.work/download/
* https://sourceforge.net/projects/gadict/files/

Compiled tarball provide dictionaries in different formats:

* ``dict.dz`` for use with ``dictd``. Goldendict and other end used dictionary
  programs understand this format.

Compiled tarballs have names like::

  gadict-$major.$minor.tar.gz
  gadict-$major.$minor.zip

Source tarballs have names like::

  gadict-$major.$minor_src.tar.gz

Installation instruction for GoldenDict
=======================================

Get distribution tarball and extract files from ``dictd`` directory in desired
place.

Select ``Edit ==> Dictionaries...`` in GoldenDict menu (or just press ``F3``)
and add directory where you extracted files. Press ``Refresh`` button and enjoy!

.. NOTE:: Only ``*.dict.dz`` and ``*.index`` files are required for GoldenDict.

How to build and install with supplied Makefile
===============================================

To build and install to ``/usr/local/`` run as root::

  $ make install

For regular user ``prefix`` is set to::

  $HOME/usr

To install to different place run::

  $ make install prefix=PREFIX

How to uninstall from supplied Makefile
=======================================

To uninstall run one of::

  $ make uninstall
  $ make uninstall prefix=PREFIX
  $ make prefix=PREFIX uninstall uninstall-local-symlink

accordingly to installation procedure.