INSTALL.rst
changeset 339 4d8d46bbe30d
parent 338 61a9d2de0e3e
child 340 d57bcb08e80c
equal deleted inserted replaced
338:61a9d2de0e3e 339:4d8d46bbe30d
     1 .. -*- coding: utf-8 -*-
       
     2 .. include:: header.rst
       
     3 
       
     4 =================================
       
     5  Installing gadict dictionaries.
       
     6 =================================
       
     7 .. contents::
       
     8    :local:
       
     9 
       
    10 Document version.
       
    11 =================
       
    12 
       
    13 .. include:: VERSION.rst
       
    14 
       
    15 Obtaining.
       
    16 ==========
       
    17 
       
    18 For distribution tarbol use (for regular users)::
       
    19 
       
    20   gadict-$major.$minor.tar.bz2
       
    21 
       
    22 For source tarboll use::
       
    23 
       
    24   gadict-$major.$minor_src.tar.gz
       
    25 
       
    26 ``$major`` and ``$minor`` represent version components.
       
    27 
       
    28 To get these files use appropriate links:
       
    29 
       
    30  * https://sourceforge.net/projects/gadict/files/v$major.$minor/gadict-$major.$minor_src.tar.gz
       
    31  * https://sourceforge.net/projects/gadict/files/v$major.$minor/gadict-$major.$minor.tar.gz
       
    32 
       
    33 Manual installation instruction for GoldenDict.
       
    34 ===============================================
       
    35 
       
    36 Get distribution tarboll and extract all files to any directory. Select::
       
    37 
       
    38  Edit ==> Dictionaries...
       
    39 
       
    40 in GoldenDict menu (or just press ``F3``) and add directory to where you
       
    41 extracted files. Press ``Refresh`` button. That's all.
       
    42 
       
    43 **Note** only ``*.dict.dz`` and ``*.index`` files are required for GoldenDict.
       
    44 You can safely remove other fils.
       
    45 
       
    46 How to build and install from supplied Makefile.
       
    47 ================================================
       
    48 
       
    49 To build and install in /usr/local/ run as root::
       
    50 
       
    51   $ make install
       
    52 
       
    53 If you run as regular user ``prefix`` set to::
       
    54 
       
    55   $HOME/usr
       
    56 
       
    57 To build and install in different place run::
       
    58 
       
    59   $ make install prefix=PREFIX
       
    60 
       
    61 How to uninstall from supplied Makefile.
       
    62 ========================================
       
    63 
       
    64 To uninstall run one command from list accordingly to installation procedure::
       
    65 
       
    66   $ make uninstall
       
    67   $ make uninstall prefix=PREFIX
       
    68   $ make prefix=PREFIX uninstall uninstall-local-symlink
       
    69