<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ftp.gramps-project.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunny256</id>
	<title>Gramps - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ftp.gramps-project.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sunny256"/>
	<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php/Special:Contributions/Sunny256"/>
	<updated>2026-07-12T05:34:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=Linux:Build_from_source&amp;diff=49958</id>
		<title>Linux:Build from source</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=Linux:Build_from_source&amp;diff=49958"/>
		<updated>2014-06-27T23:01:14Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: /* Linux package requirements */ Remove stray comma from apt-get install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{languages}}&lt;br /&gt;
&lt;br /&gt;
This page describes how to build Gramps from source on Linux. Building from source is appropriate for:&lt;br /&gt;
* Developers who need to be able to modify the source and have those modifications take effect.&lt;br /&gt;
* Packagers who need to be able to construct a package for installation by user.&lt;br /&gt;
* Advanced or experienced users who might want to install a version of Gramps that differs from the version that comes with their distribution.&lt;br /&gt;
&lt;br /&gt;
To Build Gramps, the following considerations are important (though they do not necessarily need to be done in this sequence). They are covered below:&lt;br /&gt;
# Decide where to build/install Gramps. If you already have a version of Gramps you need to decide whether you will install in the same place, overwriting the existing version, or install elsewhere.&lt;br /&gt;
# Obtain the source. This might be a released source, or a development version. The released version may be a normal release, or an unstable alpha or beta release. The development version may be subject to continual change.&lt;br /&gt;
# Install all dependencies.&lt;br /&gt;
# Build and install Gramps.&lt;br /&gt;
&lt;br /&gt;
Installing dependencies and building Gramps are considered separately for Gramps 3.x and Gramps 4.x.&lt;br /&gt;
&lt;br /&gt;
== Decide where to install ==&lt;br /&gt;
&lt;br /&gt;
If you have an older version of the Gramps source code installed you need to make a decision what you want to do with it before installing a later version. If you wish to keep the old version, make sure that you read the instructions in the INSTALL file regarding the use of the --prefix option to specify where the new version gets installed.&lt;br /&gt;
&lt;br /&gt;
See [[Installation_alternatives]].&lt;br /&gt;
&lt;br /&gt;
Should you just want to do a straightforward replacement instead, make sure that you remove the older version before you install the new version. '''Do not install over the top of the old version.''' As new versions of Gramps are developed, some functionality is occasionally rewritten in different ways. If you install over the top of an existing installation you run the risk that the old code left behind from the old version may be used instead of the new, sometimes with unintended consequences. If you installed from source, the best way of removing the old version is to run&amp;lt;code&amp;gt;&lt;br /&gt;
  make uninstall&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as root '''from where you installed the old version'''. Use your distribution's package manager to uninstall if your old version was installed as a package.&lt;br /&gt;
&lt;br /&gt;
'''Note that you should use your old Gramps version to export backup copies to GRAMPS XML before removing the old version.'''&lt;br /&gt;
&lt;br /&gt;
== Obtain the source ==&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the source code: download a released version source, or clone the source from Git. Please, now is the time to read the [{{Code Base}}INSTALL INSTALL] and [{{Code Base}}README README] files accompanying the code. They come with the most recent information. Details on each download method:&lt;br /&gt;
&lt;br /&gt;
=== Download a release ===&lt;br /&gt;
&lt;br /&gt;
* The latest stable version of Gramps can be downloaded from the [http://sourceforge.net/projects/gramps/files/ Gramps SourceForge file area]. Eg: gramps-{{version}}.tar.gz. Extract this file into a directory:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
   tar xzvf gramps-zzz.tar.gz&lt;br /&gt;
&amp;lt;/code&amp;gt; and then go into this directory:&amp;lt;code&amp;gt;&lt;br /&gt;
   cd gramps-zzz&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the source from Git ===&lt;br /&gt;
&lt;br /&gt;
* If you are interested in testing out the very latest development versions of Gramps, they can be obtained from Git, see [[Brief introduction to Git#Unstable_development|Brief introduction to Git]]. The Git versions of Gramps are potentially very dangerous as they have not been extensively tested - especially the master branch which contains features that may still be partly implemented. Be aware that they may be prone to crashing and cause extensive data loss. Please use with extreme caution - and only ever on a copy of your data!&lt;br /&gt;
&lt;br /&gt;
You can get the Gramps repository through Git. First, you need Git installed, eg on Debian based linux:&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install git&lt;br /&gt;
&lt;br /&gt;
Then, clone the repository:&lt;br /&gt;
&lt;br /&gt;
 git clone http://git.code.sf.net/p/gramps/source Gramps&lt;br /&gt;
&lt;br /&gt;
A branch called ''master'' containing the latest development code will be created for you.&lt;br /&gt;
&lt;br /&gt;
To checkout a maintenance branch use:&lt;br /&gt;
&lt;br /&gt;
 git checkout -b gramps40 origin/maintenance/gramps40&lt;br /&gt;
&lt;br /&gt;
== Install dependencies for Gramps 3.4.x ==&lt;br /&gt;
&lt;br /&gt;
==== General requirements ====&lt;br /&gt;
&lt;br /&gt;
Gramps 3.x requires python 2.6 or greater, pygtk 2.16 or greater and librsvg2&lt;br /&gt;
&lt;br /&gt;
==== Linux package requirements ====&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
|python&lt;br /&gt;
|python &lt;br /&gt;
|Required (needs version 2.6 or later)&lt;br /&gt;
|-&lt;br /&gt;
|python-gtk2&lt;br /&gt;
|pygtk2&lt;br /&gt;
|Required (needs 2.16 or greater)&lt;br /&gt;
|-&lt;br /&gt;
|[http://docs.python.org/library/bsddb.html BSDDB]&lt;br /&gt;
|[http://docs.python.org/library/bsddb.html BSDDB]&lt;br /&gt;
|Current backend&lt;br /&gt;
|-&lt;br /&gt;
|librsvg2-common&lt;br /&gt;
|librsvg2&lt;br /&gt;
|Required for building&lt;br /&gt;
|-&lt;br /&gt;
|libglib2.0-dev&lt;br /&gt;
|glib2-devel&lt;br /&gt;
|Required for building&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|librsvg2-devel&lt;br /&gt;
|Required for building&lt;br /&gt;
|-&lt;br /&gt;
|intltool&lt;br /&gt;
|intltool&lt;br /&gt;
|Required for building&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|gcc make gettext&lt;br /&gt;
|Required for building&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|xdg-utils&lt;br /&gt;
|xdg-utils&lt;br /&gt;
|Required for Gramps-3.1.x or later&lt;br /&gt;
|-&lt;br /&gt;
|rcs&lt;br /&gt;
|rcs&lt;br /&gt;
|Suggested for running&lt;br /&gt;
|-&lt;br /&gt;
|python-gtkspell&lt;br /&gt;
|gnome-python2-gtkspell&lt;br /&gt;
|Suggested for running (spell check). eg, via hunspell. Included in the python-gnome2-extras package in older Debian distributions.&lt;br /&gt;
|-&lt;br /&gt;
| python-webkit&lt;br /&gt;
| WebKitgtk pywebkitgtk&lt;br /&gt;
| Required for the HTML view&lt;br /&gt;
|-&lt;br /&gt;
| python-pygoocanvas&lt;br /&gt;
| goocanvas pygoocanvas&lt;br /&gt;
| Required for [[Graph View]]&lt;br /&gt;
|-&lt;br /&gt;
| graphviz&lt;br /&gt;
| graphviz graphviz-python&lt;br /&gt;
| Required for some reports and views&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Django&lt;br /&gt;
| Required for http://gramps-connect.org [[Gramps-Connect: Introduction|Gramps-Connect]]&lt;br /&gt;
|-&lt;br /&gt;
| python-pyexiv2&lt;br /&gt;
| pyexiv2&lt;br /&gt;
| Required for the Metadata Viewer and Edit Exif Metadata gramplets&lt;br /&gt;
|-&lt;br /&gt;
| libosmgpsmap-dev python-osmgpsmap&lt;br /&gt;
| osm-gps-map&lt;br /&gt;
| Required for the Geography views&lt;br /&gt;
|-&lt;br /&gt;
| gtk2-engines-pixbuf&lt;br /&gt;
| &lt;br /&gt;
| Solves issue with 'Unable to locate theme engine in module_path: &amp;quot;pixmap&amp;quot;'&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Under Redhat/Fedora you can install all of the above with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install python pygtk2 xdg-utils rcs gnome-python2-gtkspell librsvg2 \&lt;br /&gt;
  librsvg2-devel intltool gnome-doc-utils gcc automake autoconf autogen \&lt;br /&gt;
  gettext WebKitgtk pywebkitgtk goocanvas pygoocanvas graphviz graphviz-python \ &lt;br /&gt;
  Django pyexiv2 ImageMagick&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Under Debian/Ubuntu you can install all of the above with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install python python-gtk2 librsvg2-common libglib2.0-dev \&lt;br /&gt;
  intltool xdg-utils rcs python-gtkspell \&lt;br /&gt;
  python-webkit python-pygoocanvas graphviz python-pyexiv2 \&lt;br /&gt;
  libosmgpsmap-dev python-osmgpsmap gtk2-engines-pixbuf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build, Install and Run Gramps 3.4.x ==&lt;br /&gt;
&lt;br /&gt;
Gramps provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:&amp;lt;code&amp;gt;&lt;br /&gt;
  ./autogen.sh  &amp;lt;/code&amp;gt; # as regular user&lt;br /&gt;
&lt;br /&gt;
This script will report any missing dependencies. Install these (see also INSTALL file). Building from source code typically requires that the development versions of the required libraries be installed. You might consider setting a prefix path with autogen.sh, see the INSTALL file for instructions. Standard install is in /usr/local.&lt;br /&gt;
&lt;br /&gt;
Once a successful run of autogen.sh has been completed, you can run the typical make procedure. &amp;lt;code&amp;gt;&lt;br /&gt;
  make &amp;lt;/code&amp;gt; # as regular user&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;code&amp;gt;&lt;br /&gt;
  make install &amp;lt;/code&amp;gt; # as root&lt;br /&gt;
&lt;br /&gt;
Local installation without root privileges is possible, instructions are available on the INSTALL file, most importantly one needs to supply a &amp;lt;code&amp;gt;--prefix=&amp;lt;/code&amp;gt; and a &amp;lt;code&amp;gt;--with-mime-dir=&amp;lt;/code&amp;gt; argument to &amp;lt;code&amp;gt;autogen.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Starting Gramps - TBD&lt;br /&gt;
&lt;br /&gt;
== Install dependencies for Gramps 4.x ==&lt;br /&gt;
&lt;br /&gt;
For installation and build, see also;&lt;br /&gt;
* [[GEPS_029:_GTK3-GObject_introspection_Conversion]] (discusses Ubuntu 12.10 and 12.04, LinuxMint 14 and Debian). This is particularly relevant for building components that are not provided by those distributions, and for GTK 3 themes.&lt;br /&gt;
* [[GEPS_031:_Python_3_support]]&lt;br /&gt;
* [[GEPS_026:_Replace_'make'_for_Gramps_build]]&lt;br /&gt;
&lt;br /&gt;
==== General requirements ====&lt;br /&gt;
&lt;br /&gt;
Gramps 4.0 requires python 2.7 or python 3.2 or greater. At the moment, python 2.7 is still the most stable way to use Gramps!&lt;br /&gt;
Also needed are GTK 3.0 or greater, pygobject 3.3.2 or greater, cairo, pango, pangocairo with introspection bindings (the gi packages), librsvg2 (svg icon view), xdg-utils. Furthermore, bsddb3 is required for Python 3.2 (not python 2.7).&lt;br /&gt;
&lt;br /&gt;
==== Linux package requirements ====&lt;br /&gt;
The full list of requirements is given in the [http://sourceforge.net/p/gramps/code/HEAD/tree/trunk/README README] file.&lt;br /&gt;
&lt;br /&gt;
Required&lt;br /&gt;
&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| python&lt;br /&gt;
| python &lt;br /&gt;
| Required (needs version 2.7 or later or 3.2 or later)&lt;br /&gt;
|-&lt;br /&gt;
| python-gobject, python-gi&lt;br /&gt;
| ?&lt;br /&gt;
| Required (needs pygobject 3.3.2 or greater)&lt;br /&gt;
|-&lt;br /&gt;
| python-cairo python-gi-cairo&lt;br /&gt;
| ?&lt;br /&gt;
| Required&lt;br /&gt;
|-&lt;br /&gt;
| gir1.2-pango&lt;br /&gt;
| ?&lt;br /&gt;
| Required&lt;br /&gt;
|-&lt;br /&gt;
| gir1.2-gtk&lt;br /&gt;
| ?&lt;br /&gt;
| Required is GTK 3.6+&lt;br /&gt;
|-&lt;br /&gt;
| gir1.2-freedesktop&lt;br /&gt;
| ?&lt;br /&gt;
| Not clear why this is included in the full installation walkthrough&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Not mentioned in the full installation walkthrough&lt;br /&gt;
&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| [http://docs.python.org/library/bsddb.html BSDDB]&lt;br /&gt;
| [http://docs.python.org/library/bsddb.html BSDDB]&lt;br /&gt;
| Current backend, python3-bsddb3 for python 3!&lt;br /&gt;
|-&lt;br /&gt;
| xdg-utils&lt;br /&gt;
| xdg-utils&lt;br /&gt;
| Required for Gramps-3.1.x or later&lt;br /&gt;
|-&lt;br /&gt;
| libgtkspell-3-0 python-gtkspell&lt;br /&gt;
| ?&lt;br /&gt;
| Required spell checking (eg, with hunspell)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Required for building&lt;br /&gt;
&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| librsvg2-common&lt;br /&gt;
| librsvg2&lt;br /&gt;
| Required for building&lt;br /&gt;
|-&lt;br /&gt;
| python-dev libglib2.0-dev&lt;br /&gt;
| glib2-devel&lt;br /&gt;
| Required for building&lt;br /&gt;
|-&lt;br /&gt;
| python-gobject-dev libgirepository1.0-dev&lt;br /&gt;
| ?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| libcairo2-dev python-cairo-dev&lt;br /&gt;
| ?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| librsvg2-devel&lt;br /&gt;
| Required for building&lt;br /&gt;
|-&lt;br /&gt;
| intltool&lt;br /&gt;
| intltool&lt;br /&gt;
| Required for building&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| gcc make gettext&lt;br /&gt;
| Required for building&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Strongly recommended&lt;br /&gt;
&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| 'Not available'&lt;br /&gt;
| 'Not available'&lt;br /&gt;
| osmgpsmap. Required for the Geography views. Needs patches that are not available in the official version. Needs to be built from source. See [http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#OsmGpsMap_for_Geography compile and install OsmGpsMap]&lt;br /&gt;
|-&lt;br /&gt;
| graphviz&lt;br /&gt;
| graphviz graphviz-python&lt;br /&gt;
| Required for some reports and views&lt;br /&gt;
|-&lt;br /&gt;
| python-pyicu&lt;br /&gt;
| ?&lt;br /&gt;
| Required for correct sorting&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Optional&lt;br /&gt;
&lt;br /&gt;
{|{{Prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
!Debian      /Ubuntu &lt;br /&gt;
!Fedora      /Redhat&lt;br /&gt;
!Comment&lt;br /&gt;
|-&lt;br /&gt;
| 'Not available'&lt;br /&gt;
| 'Not available'&lt;br /&gt;
| gtkspell. Suggested for running (spell check). Needs to be build from source. See [http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#Spell_Check_Install install spell check]&lt;br /&gt;
|-&lt;br /&gt;
| rcs&lt;br /&gt;
| rcs&lt;br /&gt;
| Suggested for running&lt;br /&gt;
|-&lt;br /&gt;
| Python Image Library&lt;br /&gt;
| ?&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| gir1.2-gexiv2-0.4&lt;br /&gt;
| 'Not available'&lt;br /&gt;
| Required for the Metadata Viewer gramplet&lt;br /&gt;
|-&lt;br /&gt;
| ttf-treefont&lt;br /&gt;
| ?&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| python-webkit python-gtkmozembed&lt;br /&gt;
| WebKitgtk pywebkitgtk&lt;br /&gt;
| Required for the HTML view&lt;br /&gt;
|-&lt;br /&gt;
| python-pygoocanvas gir1.2-goocanvas-2.0-9&lt;br /&gt;
| goocanvas pygoocanvas&lt;br /&gt;
| Required for [[Graph View]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| Django&lt;br /&gt;
| Required for http://gramps-connect.org [[Gramps-Connect: Introduction|Gramps-Connect]]&lt;br /&gt;
|-&lt;br /&gt;
| gtk2-engines-pixbuf&lt;br /&gt;
| &lt;br /&gt;
| Solves issue with 'Unable to locate theme engine in module_path: &amp;quot;pixmap&amp;quot;'&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Under Redhat/Fedora you can install all of the above with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install python pygtk2 xdg-utils rcs gnome-python2-gtkspell librsvg2 \&lt;br /&gt;
  librsvg2-devel intltool gnome-doc-utils gcc automake autoconf autogen \&lt;br /&gt;
  gettext WebKitgtk pywebkitgtk goocanvas pygoocanvas graphviz graphviz-python \&lt;br /&gt;
  Django pyexiv2 inkscape ImageMagick&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Under Debian/Ubuntu you can install all of the above with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install python python-gobject python-gi python-cairo python-gi-cairo \&lt;br /&gt;
  gir1.2-pango gir1.2-gtk xdg-utils libgtkspell-3-0 python-gtkspell \&lt;br /&gt;
  librsvg2-common python-dev libglib2.0-dev python-gobject-dev libgirepository1.0-dev \&lt;br /&gt;
  libcairo2-dev python-cairo-dev intltool graphviz python-pyicu \&lt;br /&gt;
  rcs ttf-treefont python-webkit python-pygoocanvas gir1.2-goocanvas-2.0-9 \&lt;br /&gt;
  gtk2-engines-pixbuf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Local installation without root privileges is possible, instructions are available on the INSTALL file.&lt;br /&gt;
&lt;br /&gt;
== Build, Install and Run Gramps 4.x ==&lt;br /&gt;
&lt;br /&gt;
 python setup.py build&lt;br /&gt;
&lt;br /&gt;
The way you run Gramps depends on whether you downloaded a release or downloaded from the Git repository.&lt;br /&gt;
&lt;br /&gt;
==== Running a release ====&lt;br /&gt;
&lt;br /&gt;
See [http://gramps.1791082.n4.nabble.com/No-joy-building-Gramps-4-0-1-from-source-tp4661381p4661443.html]&lt;br /&gt;
&lt;br /&gt;
With a tarbal, gramps should be run from the build directory, or from installed version (which can be installed locally).&lt;br /&gt;
&lt;br /&gt;
 python setup.py build&lt;br /&gt;
&lt;br /&gt;
go to where the scripts are installed:&lt;br /&gt;
&lt;br /&gt;
 cd build/scripts-2.7&lt;br /&gt;
&lt;br /&gt;
in build GRAMPS_RESOURCES must also be set to actually run it:&lt;br /&gt;
&lt;br /&gt;
 GRAMPS_RESOURCES=/home/benny/gramps/branches/maintenance/gramps40/build/lib.linux-x86_64-2.7/&lt;br /&gt;
 PYTHONPATH=$GRAMPS_RESOURCES:$PYTHONPATH ./gramps&lt;br /&gt;
&lt;br /&gt;
I dislike that GRAMPS_RESOURCES must be set from build, it would be nice if that would not be needed from the build directory, but ok, build is just an in between stage.&lt;br /&gt;
&lt;br /&gt;
Running from build is only to try out before a real install, and that works, eg install to a test directory (or to a directory you have chosen following [http://www.gramps-project.org/wiki/index.php?title=Linux:Build_from_source#Decide_where_to_install decide where to install]&lt;br /&gt;
&lt;br /&gt;
 python setup.py install --root ~/gramps/test&lt;br /&gt;
 cd ~/gramps/test/usr/local/bin&lt;br /&gt;
&lt;br /&gt;
as this is a test dir, PYTHONPATH must be set to point to the locally installed gramps package :&lt;br /&gt;
&lt;br /&gt;
 PYTHONPATH=~/gramps/test/usr/local/lib/python2.7/dist-packages/:$PYTHONPATH ./gramps&lt;br /&gt;
&lt;br /&gt;
==== Running from a Git repository ==== &lt;br /&gt;
&lt;br /&gt;
Gramps.py is only for those that check out the code repository. Gramps.py is a fake file to allow developers to run code from the source dir, not what the user should be doing.&lt;br /&gt;
&lt;br /&gt;
If you now run&lt;br /&gt;
 python Gramps.py -v&lt;br /&gt;
you should see all required packages are found. You can now start Gramps locally with the command&lt;br /&gt;
&lt;br /&gt;
 python Gramps.py&lt;br /&gt;
&lt;br /&gt;
== Full install walkthrough Gramps 4.0 Ubuntu derivatives ==&lt;br /&gt;
&lt;br /&gt;
Following walkthrough was done on a clean install of Kubuntu 13.04 which did have the GTK applications firefox, inkscape and gimp installed. Equal steps should be done on other platforms.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install git&lt;br /&gt;
 git clone http://git.code.sf.net/p/gramps/source Gramps&lt;br /&gt;
 cd Gramps&lt;br /&gt;
 git checkout -b gramps40 origin/maintenance/gramps40&lt;br /&gt;
 sudo apt-get install intltool&lt;br /&gt;
 python setup.py build&lt;br /&gt;
 sudo apt-get install python-gobject python-gi python-cairo python-gi-cairo&lt;br /&gt;
 sudo apt-get install gir1.2-freedesktop gir1.2-pango&lt;br /&gt;
 sudo apt-get install gir1.2-gtk&lt;br /&gt;
 sudo apt-get install gir1.2-gexiv2-0.4&lt;br /&gt;
&lt;br /&gt;
If you now run&lt;br /&gt;
 python Gramps.py -v&lt;br /&gt;
you should see all required packages are found. You can now start Gramps locally with the command&lt;br /&gt;
&lt;br /&gt;
 python Gramps.py &lt;br /&gt;
&lt;br /&gt;
To install optional components, do the following:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install python-pyicu graphviz rcs gir1.2-webkit-3&lt;br /&gt;
&lt;br /&gt;
This gives all the easy optional functionality in Gramps. The rest is not yet present in Ubuntu 13.04, so if you want them, you need to compile them&lt;br /&gt;
&lt;br /&gt;
'''spell checking'''&lt;br /&gt;
Remove first present version, check that this command does not remove programs you use!&lt;br /&gt;
   sudo apt-get remove libgtkspell-3-0 python-gtkspellcheck&lt;br /&gt;
&lt;br /&gt;
Now we obtain the code to build this package&lt;br /&gt;
  sudo apt-get install mercurial&lt;br /&gt;
  hg clone http://hg.code.sf.net/p/gtkspell/code gtkspell-code&lt;br /&gt;
  cd gtkspell-code&lt;br /&gt;
  sudo apt-get install build-essential sudo apt-get install libgirepository1.0-dev&lt;br /&gt;
  sudo apt-get install valac libgtk-3-dev&lt;br /&gt;
  aclocal ; autoheader; automake ; autoconf&lt;br /&gt;
  ./autogen.sh&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
  sudo cp /usr/local/lib/girepository-1.0/GtkSpell-3.0.typelib /usr/lib/girepository-1.0/&lt;br /&gt;
  sudo cp /usr/local/lib/libgtkspell3-3.* /usr/lib/&lt;br /&gt;
&lt;br /&gt;
'''osmgpsmap'''&lt;br /&gt;
The geography view needs patches which are not included yet in the official version. &lt;br /&gt;
  sudo apt-get install git&lt;br /&gt;
  git clone git://github.com/nzjrs/osm-gps-map.git&lt;br /&gt;
  cd osm-gps-map&lt;br /&gt;
  sudo apt-get install libsoup2.4-dev gnome-common gtk-doc-tools&lt;br /&gt;
  ./autogen.sh --prefix /usr&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
  &lt;br /&gt;
'''gexiv2'''&lt;br /&gt;
Minimally version 0.5 is needed.  Ubuntu 13.10 contains version 0.6.1 in the gir1.2-gexiv2-0.4 package.  If you have an older version, remove it and install from source using the following instructions:&lt;br /&gt;
&lt;br /&gt;
Obtain it from [http://www.yorba.org/download/gexiv2/], I downloaded 0.6.1, and extracted it in directory ''libgexiv2-0.6.1''. To install this&lt;br /&gt;
&lt;br /&gt;
  cd libgexiv2-0.6.1&lt;br /&gt;
  sudo apt-get install exiv2 libexiv2-dev&lt;br /&gt;
  ./configure --enable-introspection --prefix=/usr&lt;br /&gt;
   make&lt;br /&gt;
   sudo make install&lt;br /&gt;
&lt;br /&gt;
'''run Gramps'''&lt;br /&gt;
You can now use gramps from the source directory with &lt;br /&gt;
  python Gramps.py&lt;br /&gt;
&lt;br /&gt;
You could install Gramps, but you better wait for a packages distributed from [http://sourceforge.net/projects/gramps/files/] and install those via your package manager&lt;br /&gt;
&lt;br /&gt;
'''look and feel'''&lt;br /&gt;
Normally, Gramps does not look that nicely when not used on Gnome desktop. To remedy this, install a theme switcher. You can edit configuration files if you don't like to install these dependencies, see eg [https://wiki.archlinux.org/index.php/GTK%2B#GTK.2B_3.x]&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install gnome-tweak-tool&lt;br /&gt;
&lt;br /&gt;
You can search on gtk 3 themes in your package manager and install one that you like. For example, install clearlooks:&lt;br /&gt;
 sudo apt-get install clearlooks-phenix-theme&lt;br /&gt;
then use the gnome-tweak-tool to switch to that. For KDE you need to go also to Settings-&amp;gt;Appearance-&amp;gt;GTK and set the GTK 3 theme there to the one you installed.&lt;br /&gt;
&lt;br /&gt;
==== Full install walkthrough Windows ====&lt;br /&gt;
On windows, you can install [https://www.virtualbox.org/ virtualbox] and then install K/X/Ubuntu as indicated above, which will give you linux in windows. &lt;br /&gt;
&lt;br /&gt;
The native windows support for Gramps 4.0 is being worked on. You find the current walkthrough [[Run_Gramps40_for_Windows_from_source_using_Python_2.7.3|on the dedicated page]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* $GRAMPSHOME on [[Gramps 3.4 Wiki Manual - Command Line#Environment variables]]&lt;br /&gt;
* [[Translating_Gramps#.24GRAMPSI18N_.28for_your_locale.29| $GRAMPSI18N (for your locale) ]]&lt;br /&gt;
* [[Installation_alternatives]]&lt;br /&gt;
* [[Translating_Gramps#Installing_your_translation]]&lt;br /&gt;
* [[Howto:Change_the_language_of_reports#Run_GRAMPS_in_a_different_language]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Developers/Installation]]&lt;br /&gt;
[[Category:Developers/Packaging]]&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=49957</id>
		<title>User:Sunny256</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=49957"/>
		<updated>2014-06-27T22:57:50Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: /* The Git repository */ Delete the section now that GRAMPS has changed to Git&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi there, I'm Øyvind from Norway, and I've been interested in genealogy for many years, but things really started rolling four years ago or so, when I started using genealogy software. I'm using Linux, and after some research I ended up using [http://www.geneweb.org/ GeneWeb]. A very stable program with the potential for a huge database (I've seen databases with millions of persons), and the relationship functionality is one of the best I've seen. But it seems as the GeneWeb development has stopped, there hasn't been a new version for several years. That's life when you choose a programming language like OCaml.&lt;br /&gt;
&lt;br /&gt;
Well, it seems as Gramps is the most popular genealogy software for Linux, and it'll probably be my new favourite now that GeneWeb has gone out of the window. Who knows, maybe I'll contribute a patch or ten. :)&lt;br /&gt;
&lt;br /&gt;
For more info about me, check out my [http://www.google.com/profiles/sunny256 Google profile] or my [http://en.wikipedia.org/wiki/User:Sunny256 Wikipedia page].&lt;br /&gt;
&lt;br /&gt;
[[Category:User|S]]&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=Genealogy_basics&amp;diff=25379</id>
		<title>Genealogy basics</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=Genealogy_basics&amp;diff=25379"/>
		<updated>2011-01-27T03:00:20Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: Typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Genealogy]]&lt;br /&gt;
{{languages|Genealogy basics}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A few recommendations in the practice of genealogy:&lt;br /&gt;
&lt;br /&gt;
* '''Get the source.''' No matter how much information you some day obtain regarding your family tree, it will only be as good as the [[Sources|sources]] it came from. Spend the extra effort at the time of discovery to write down all the details.&lt;br /&gt;
* '''Research from what you know to what you do not.''' Record everything that is known before making conjecture. The facts at hand can suggest direction for more research. Don't waste time looking through thousands of records hoping for a trail when you have other unexplored options.&lt;br /&gt;
* '''Be descriptive.''' Don't limit your record to names, dates and places. Genealogy is not just a study or analysis of what happened, but why it did and how the descendants might have been shaped by the events they went through. Plus, a charming narrative here and there goes a long way to making your family as interesting to others as it is to you.&lt;br /&gt;
* '''Be as accurate as you can.''' Don't make assumptions when recording primary information. Write it exactly as you see it, and then use bracketed comments to indicate your insertions, deletions or side comments. Use of the Latin &amp;quot;[sic]&amp;quot; is standard to confirm the accurate transcription of an apparent error. You may find afterwards that what you thought was an abbreviation or misspelling was actually a handwriting variation common to the period or a distinction in two facts with similar spellings.&lt;br /&gt;
* '''Get everyone.''' Record all the individuals you find at an event. Families often lived, worked, and worshipped together, so the relatives of an individual can show up at events of siblings, neighbors, and local churches.&lt;br /&gt;
* '''Plan your efforts.''' Knowing what you are looking to accomplish saves valuable time. Special trips to see original documents, burial places, libraries, or to interview individuals can not be repeated. Make sure you get everything you come for and record as much as you can while you have the chance. It is unfortunate to return from a trip to find that you omitted an obvious piece of information that passed right under your nose.&lt;br /&gt;
* '''Look closely.''' Sometimes re-interpretation of a group of seemingly unconnected pieces of information suddenly reveal a colorful period in the line you never expected. Abrupt changes in a family, such as what happens at a move, immigration, a marriage, death, or birth can point the direction for more research.&lt;br /&gt;
* '''Qualify what you record.''' Include your theories or questions about information as you write it. There's nothing wrong with others understanding that you might not be comfortable in the accuracy of a certain fact or hypothesis. It can help others to understand your perspective and bring further information to bear as they try to make sense of questions or research in the same area. Be sure to use brackets or other notation technique to clearly distinguish your comments from those of the source.&lt;br /&gt;
* '''Respect the privacy of the living.''' Genealogy is not intended to invade people's privacy by revealing their current health conditions, their social security numbers, and other still-hidden secrets. Be sensitive when writing about issues that some family members might not be comfortable discussing.&lt;br /&gt;
* '''Back up your electronic information frequently.''' If you spend countless hours entering information into a genealogy program, take the extra five minutes every now and then to back up the files on a CD. Label the disc with a description and date using a CD marker (not just any permanent marker!) and store it in a dark, cool and dry place.&lt;br /&gt;
* '''Take lots of pictures.''' Use photographs to remember details you don't have time to write down. Pictures of a cemetery stone can be useful, but you may also want a picture of the church that sits in front, a view from the road leading up to the site, views looking toward the stone from various positions, stones adjacent and otherwise interesting, a general overview of the place, even those who accompanied you on the visit. Later, these may help you find it and other areas for more research or simply remind you and others of the experience of that day.&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=Mailing_lists&amp;diff=25261</id>
		<title>Mailing lists</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=Mailing_lists&amp;diff=25261"/>
		<updated>2011-01-15T16:01:22Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: Create redirect to Contact#Mailing_lists&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT[[Contact#Mailing_lists]]&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=25259</id>
		<title>User:Sunny256</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=25259"/>
		<updated>2011-01-15T04:13:39Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: Add info about the Git repository&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi there, I'm Øyvind from Norway, and I've been interested in genealogy for many years, but things really started rolling four years ago or so, when I started using genealogy software. I'm using Linux, and after some research I ended up using [http://www.geneweb.org/ GeneWeb]. A very stable program with the potential for a huge database (I've seen databases with millions of persons), and the relationship functionality is one of the best I've seen. But it seems as the GeneWeb development has stopped, there hasn't been a new version for several years. That's life when you choose a programming language like OCaml.&lt;br /&gt;
&lt;br /&gt;
Well, it seems as Gramps is the most popular genealogy software for Linux, and it'll probably be my new favourite now that GeneWeb has gone out of the window. Who knows, maybe I'll contribute a patch or ten. :)&lt;br /&gt;
&lt;br /&gt;
For more info about me, check out my [http://www.google.com/profiles/sunny256 Google profile] or my [http://en.wikipedia.org/wiki/User:Sunny256 Wikipedia page].&lt;br /&gt;
&lt;br /&gt;
== The Git repository ==&lt;br /&gt;
&lt;br /&gt;
I've set up a Git mirror of the Gramps SVN repository at [https://github.com/sunny256/gramps GitHub] which is synced every 30th minute from SVN. You're welcome to clone it, the &amp;quot;trunk&amp;quot; and &amp;quot;maintenance&amp;quot; branches will always be identical to the SVN version. Due to some strange SVN history, the clone starts at r15000 (2010-04-03), but that should be enough for now.&lt;br /&gt;
&lt;br /&gt;
Clone URLs:&lt;br /&gt;
&lt;br /&gt;
* git://github.com/sunny256/gramps.git&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;https://github.com/sunny256/gramps.git&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=Linux_Genealogy_CD&amp;diff=22986</id>
		<title>Linux Genealogy CD</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=Linux_Genealogy_CD&amp;diff=22986"/>
		<updated>2010-05-30T14:54:40Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: Update GeneWeb URL, the URL at SourceForge seems horribly outdated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{languages|Linux Genealogy CD}}&lt;br /&gt;
[[Image:cdlabel_web_l.jpg|right]]&lt;br /&gt;
The Linux Genealogy Desktop CD 4.0 (Released: 2008-06-26) (''The CD is available only for the x86 architecture.'')&lt;br /&gt;
&lt;br /&gt;
Includes the following pre-installed genealogy software:&lt;br /&gt;
*'''GRAMPS''' 3.0.1&lt;br /&gt;
*[http://www.geneweb.org/ GeneWeb]&lt;br /&gt;
*[http://lifelines.sourceforge.net/ LifeLines]&lt;br /&gt;
&lt;br /&gt;
As well as [http://www.graphviz.org/ GraphViz] the program that draws pretty charts and graphs in GRAMPS.&lt;br /&gt;
&lt;br /&gt;
This Live CD is based on [https://help.ubuntu.com/8.04/ Ubuntu 8.04 (Hardy Heron)] Desktop CD.&lt;br /&gt;
&lt;br /&gt;
In addition to the Live Session, this disk also allows permanent installation of Linux and genealogical software on your computer's hard drive. This way you achieve adequate speed and the ability to save your data, and can do real work with your Linux software. Everything is similar to the Live Session, except that this is a permanent setup.&lt;br /&gt;
&lt;br /&gt;
==Obtaining the CD==&lt;br /&gt;
The CD can be obtained via:&lt;br /&gt;
* The SourceForge, [http://sourceforge.net/project/showfiles.php?group_id=25770&amp;amp;package_id=109309&amp;amp;release_id=599992 GRAMPS download page]&lt;br /&gt;
* Centralized download. Thanks to the hosting kindly donated to GRAMPS, the CD images can be downloaded via:&lt;br /&gt;
** [http://ftp5.gwdg.de/pub/linux/gramps/ http] protocol.&lt;br /&gt;
** [ftp://ftp5.gwdg.de/pub/linux/gramps/ ftp] protocol.&lt;br /&gt;
** rsync (rsync://ftp5.gwdg.de/pub/linux/gramps/) protocol.&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* BitTorrent download. Use these files to download and verify the CD image via BitTorrent: [http://www.gramps-project.org/download/lgenealogy-4.0-desktop-i386.iso.torrent torrent file], [http://www.gramps-project.org/download/lgenealogy-4.0-desktop-i386.iso.md5sum its md5sum], and [http://www.gramps-project.org/download/lgenealogy-4.0-desktop-i386.iso.md5sum.gpg its gpg signature]. Please keep in mind that the torrent downloads are provided by a few kind souls from their personal computers and that the speed and the very availability of the torrents depends entirely on them.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Purchase a CD. An alternative to downloading the CD image is to purchase the physical CD. The CD is currently available for purchase in [http://www.cdfhs-aus.com/catalog/product_info.php?cPath=21&amp;amp;products_id=38 Australia] and the [http://fstore.roitman.org/index.php?main_page=product_info&amp;amp;products_id=5 USA].&lt;br /&gt;
* Current and previous versions of the CD are also stored on [http://www.gramps-project.org/cdrom Gramps website]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
	<entry>
		<id>https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=22984</id>
		<title>User:Sunny256</title>
		<link rel="alternate" type="text/html" href="https://ftp.gramps-project.org/wiki/index.php?title=User:Sunny256&amp;diff=22984"/>
		<updated>2010-05-29T22:14:42Z</updated>

		<summary type="html">&lt;p&gt;Sunny256: Some info about Yours Truly&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi there, I'm Øyvind from Norway, and I've been interested in genealogy for many years, but things really started rolling four years ago or so, when I started using genealogy software. I'm using Linux, and after some research I ended up using [http://www.geneweb.org/ GeneWeb]. A very stable program with the potential for a huge database (I've seen databases with millions of persons), and the relationship functionality is one of the best I've seen. But it seems as the GeneWeb development has stopped, there hasn't been a new version for several years. That's life when you choose a programming language like OCaml.&lt;br /&gt;
&lt;br /&gt;
Well, it seems as Gramps is the most popular genealogy software for Linux, and it'll probably be my new favourite now that GeneWeb has gone out of the window. Who knows, maybe I'll contribute a patch or ten. :)&lt;br /&gt;
&lt;br /&gt;
For more info about me, check out my [http://www.google.com/profiles/sunny256 Google profile] or my [http://en.wikipedia.org/wiki/User:Sunny256 Wikipedia page].&lt;br /&gt;
&lt;br /&gt;
See you around.&lt;/div&gt;</summary>
		<author><name>Sunny256</name></author>
		
	</entry>
</feed>