This is not the standard process to install GêBR, but mainly for developers. If you just want to get it working on your machine, try the install guide first.

To install GêBR from the source code, some standard tools are required (use this option if there is no pre-compiled package suitable for your distribution):

  • autoconf
  • automake
  • gtk-doc-tools
  • intltool
  • libtool
  • mercurial
  • pkg-config

Besides, GêBR depends on libraries GTK+, GDOME and Graphviz.

On a Debian system, for instance, to install all of this simply run (as root):

apt-get install autoconf automake libtool intltool pkg-config gtk-doc-tools mercurial
apt-get install libgdome2-dev libgtk2.0-dev libxml2-dev libwebkit-dev libjson-glib-dev libtidy-dev gtk-doc-tools graphviz

On a Fedora system, as root, run:

yum install autoconf automake libtool intltool pkgconfig mercurial
yum install gdome2 gdome2-devel gtk2-devel libxml-devel webkitgtk-devel

Next sections, guide you through the get-compile-install process.

Getting the source

Start by downloading the source code from the GêBR main repository. This is accomplished with

hg clone https://bitbucket.org/Biloti/gebr

Alternatively, visit download page to get access to source code packages.

Compiling and installing

To compile and install all GêBR components, go to the gebr-root directory and issue the commands:

./autogen.sh
./configure --prefix=$HOME/.local
make
make install

To run the programs installed in that way it is also necessary to add the installation path for binaries to the PATH environment variable. The easiest way to do that is to add the following two lines to your .bashrc file:

export PATH=$PATH:$HOME/.local/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.local/lib

The build-gebr.sh script perform all such actions. Besides it scans your system for dependencies and install them.