Installation

From GnokiiWiki
Revision as of 13:50, 18 September 2010 by Cweiske (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hints about the installation, mainly on non-Linux boxes.

Contents

Installation via package manager

Most Linux distributions have a package for gnokii, so you only need to use your package manager to install it.

Example for Ubuntu:

sudo apt-get install xgnokii


Installing from sources

Get the sources

See gnokii.org - Downloads for details.

Configure

This is the basic command:
./configure
Howhever you should know what is the right place to install files.
For example, language data files on Slackware need to go under /usr/share/locale/ but the default prefix would put them under /usr/local/share/locale/ so you need this:
./configure --prefix=/usr
See ./configure --help for details.

Some useful options for configure script are:

  • --disable-shared prevents from building shared library for gnokii (useful for development and debugging)
  • --enable-security enables some security options: --entersecuritycode, --getsecuritycodestatus, --changesecuritycode

Compile

make
This should be done as user.

Install

make install
This must be done as root.


Configuration

After installation, you need to configure gnokii.