# Installation

Now that &app; has been compiled and tested, use the following command to install it:

          make install

The above command installs the standalone player. If the correct files were found by `configure` and if the `--disable-plugin` option was not specified, the &app; browser plugin is also installed.

&app; installs a number of libraries, namely: libgnashbase, libgnashamf, libgnashmedia, libserver, and libgnashplugin. Executables consist of the (optional) plugin, `gprocessor`, `cygnal`, `dumpshm`, `soldumper`, and `gnash`. Documentation may also be installed. The installation location is controlled with the --prefix configure option, except for plugins, which are explicitly set with --plugin-dir.

Note that if you are using a single file-system NFS mounted to multiple platforms, the configuration option --exec-prefix may be used to specify where platform-dependent executables and libraries are installed.

## Libraries

Installed libraries are located in `/usr/local/lib` by default. If the --prefix option was used during the configuration step, the libraries will be installed in the directory `lib` inside the path you specified. If the libraries are stored in a non-standard location, you must identify the path in one of two ways.

The traditional way to do this on UNIX platforms is to set the LD_LIBRARY_PATH variable to the path plus `/lib`. For example, if you installed in `/home/gnash`, the LD_LIBRARY_PATH path would be `/home/gnash/lib`. Multiple paths are delimited with a colon (':').

GNU/Linux allows the custom path to be added to `/etc/ld.so.conf`. After adding the path, run ldconfig as root to update the runtime cache.

## Executables

The Mozilla plugin is built from headers (the Mozilla SDK) provided with Gnash and does not need extra development packages to be installed. By default, the plugin is installed to `~/.mozilla/plugins/`. To enable the plugin for other users, copy the file `libgnashplugin.so` to `.mozilla/plugins/` in their home directory. You may also specify the plugin installation directory by using the `--with-plugindir` option at configuration time.

These defaults are likely to change in future versions of Gnash.

The remaining executables are installed in the `bin` subdirectory of the directory specified by during configuration. If no path was specified, the default is `/usr/local/bin`.

## Documentation

Documentation is not built by default; please refer to the section on documentation for more information on building documentation.

`man` and `info` are installed in `/usr/local/share/man` and `/usr/local/share/info` respectively, unless the `--mandir` or `--infodir` configuration options are used.

GNOME help documentation uses the directory `/usr/local/share/gnash/doc/gnash/C/` by default. A configuration file in the &app; source tree, `doc/C/gnash.omf` is used to specify under which menu item &app; appears in the GNOME help system.