Changes

Jump to: navigation, search

Installation

150 bytes added, 08:32, 10 May 2013
m
Gramps 4.x
==== General requirements ====
Gramps 4.x 0 requires python 2.? 7 or python 3.2 or greater. At the moment, pygtk python 2.? 7 is still the most stable way to use Gramps!Also needed are GTK 3.0 or greater, pygobject 3.3.2 or greater and , 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).
==== Linux package requirements ====
|python
|python
|Required (needs version 2.? 7 or later)
|-
|python-gtk2gobject, python-gi|pygtk2?
|Required (needs 2.? or greater)
|-
|python-cairo python-gi-cairo
|?
|Required
|-
|gir1.2-pango-1.0
|?
|Required
|-
|[http://docs.python.org/library/bsddb.html BSDDB]
|[http://docs.python.org/library/bsddb.html BSDDB]
|Current backend, python3-bsddb3 for python 3!
|-
|xdg-utils
|xdg-utils
|Required for Gramps-3.1.x or later
|-
|python-pyicu
|?
|Required for correct sorting
|-
|libgtkspell-3-0 python-gtkspell
|?
|Required spell checking
|}
|Required for building
|-
|python-dev libglib2.0-dev
|glib2-devel
|Required for building
|-
|python-gobject-dev libgirepository1.0-dev
| ?
|
|-
|libcairo2-dev python-cairo-dev
| ?
|
|-
|
| Required for some reports and views
|-
|python-pygoocanvas gir1.2-goocanvas-2.0-9|?| PyICU|-|python-pyexiv2|?|exiv data on pictures
|}
'''2. Download from SVN'''
You can get a branch version (similar as above) or the latest bleeding-edge version through SVN. You can download a specific release via a tag, such asor you can download the latest development.First, you need subversion installed, eg on Debian based linux: sudo apt-get install subversion Then, download a tagged version:  svn co https://svn.code.sf.net/p/gramps/code/tags/gramps-4.0.0/ gramps400 or latest development:  svn co https://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40 gramps40
svn co https://svn.code.sf.net/p/gramps/code/tags/gramps-4.0.0/ gramps
for the most recent development version, see More info can be found in [[Getting started with Gramps Trunk]].
====Upgrading Gramps====
make uninstall</code>
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.
'''Note that you should use your old Gramps version to export backup copies to GRAMPS XML before removing the old version.'''
==== Build on Linux ====
 
Gramps provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:<code>
./autogen.sh </code> # as regular user
 
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.
 
Once a successful run of autogen.sh has been completed, you can run the typical make procedure. <code>
make </code> # as regular user
 
then <code>
make install </code> # as root
Local installation without root privileges is possible, instructions are available on the INSTALL file, most importantly one needs to supply a <code>--prefix=</code> and a <code>--with-mime-dir=</code> argument to <code>autogen.sh</code>.
=== See also ===

Navigation menu