Difference between revisions of "Installation"
(→Additional software GRAMPS can benefit from)
m (Spelling Correction and Letter Case Change)
|Line 149:||Line 149:|
==Installing from source code on Solaris==
==Installing from source code on Solaris==
Previous versions of GRAMPS have run on Solaris. No recent cases are
Previous versions of GRAMPS have run on Solaris. No recent cases are to us however. Should you have successfully installed GRAMPS on , please update the [[Solaris page]].
Revision as of 09:38, 14 February 2008
[[::Installation|English]] • [[::Installation/cs|čeština]] • [[::Installation/de|Deutsch]] • [[::Installation/es|español]] • [[::Installation/fi|suomi]] • [[::Installation/fr|français]] • [[::Installation/he|עברית]] • [[::Installation/it|italiano]] • [[::Installation/lt|lietuvių]] • [[::Installation/nl|Nederlands]] • [[::Installation/pl|polski]] • [[::Installation/ru|русский]] • [[::Installation/sl|slovenščina]] • [[::Installation/sv|svenska]] • [[::Installation/tr|Türkçe]]
- 1 Live CD
- 2 Easy download and install of GRAMPS
- 3 Upgrading to the latest version
- 4 Windows, BSD, MacOs, Solaris
- 5 Gnome and KDE
- 6 Additional software GRAMPS can benefit from
- 7 Installing from source
If you are interested in GRAMPS, but are afraid to actually install it or unable to install it (not your PC, windows, no internet at home, work laptop, ...), then try out our Linux Genealogy CD. It runs without installing on the hard disk and contains a collection of open source, free, genealogy programs. You can then install Ubuntu 7.04 LTS and GRAMPS from the CD anytime you like.
Easy download and install of GRAMPS
Before downloading, check if the version of GRAMPS in your distribution is not current:
- Debian, (K,X,Edu)Ubuntu, Mepis, Suse:
apt-get install gramps
yum install gramps
Upgrading to the latest version
If your version of GRAMPS is not current, some users offer up to date packages for some distributions:
- Ubuntu and derivatives (Kubuntu, Mephis, ...): Ubuntu packages are available on sourceforge.
- Gutsy (7.10) and Feisty (7.04) : download gramps_2.2.10-1_all.deb and gramps-help_2.2.10-1_all.deb , and install with your package manager. Standard you could use the gdebi package.
- Dapper, Edgy and before: 2.2.10 is not available yet, for now download gramps_2.2.8-1dapper1_all.deb and gramps-help_2.2.8-1dapper1_all.deb , and install with your package manager.
- SuSE: Richard Bos has been providing the GRAMPS releases for SuSE's apt repository. They are always last release in his repository. See also this forum entry.
- Mandriva: Sometimes newer versions of GRAMPS are backported. For this, you must enable the backports: see Mandriva wiki. You will then possibly be able to install more recent versions of software, hopefully also of GRAMPS. You could try contrib too. If the latest version of GRAMPS is not available, you must install from source (see below).
- Fedora: If FC6, on sourceforge, download gramps-zzz.fc6.noarch.rpm if available, and install with your package manager, for FC7 use the fc7 package. The alternative to installing from source (described below) is to build a package from an rpm spec file, or install a binary from fedora testing.
- Debian: the latest version is installed directly into unstable (Sid Gramps) and can be upgraded from your package manager. Testing is updated 10 days later (except near a new stable release), see Lenny Gramps.
Note: Some Linux distributions may have a slightly different way to download and install packages for GRAMPS. Please read the installation instructions specific to your distribution before downloading.
In all other cases, you must download the source package zzz.tar.gz, and install GRAMPS manually. See below for details.
Windows, BSD, MacOs, Solaris
For Windows, there is an experimental Windows installer. If this installer does not offer the most recent versions of GRAMPS in Windows, you need to wait until a new installer is made available.
For BSD, MacOS, Solaris there are experimental install instructions below.
Gnome and KDE
You can use both, but GRAMPS fits in better with GNOME. For KDE there are some minor issues due to some (GTK) issues outside of GRAMPS. Check the KDE page to know what these problems might be.
Additional software GRAMPS can benefit from
GRAMPS does not rely on the following programs, however, having them will increase your productivity:
- Gnome-print: It adds the ability to directly print, to preview, and to generate fully internationalized PS and PDF output. At this time, one needs to install gnome-python-desktop to obtain this package (it might be known under different names, eg on debian python-gnome2-desktop).
- Spell checking: Installing python-gnome2-extras provides the gtkspell module, which adds spell checking in the notes
- Graphviz, Inkscape: Gramps can make nice Genealogical trees (relationship graphs). These are generated by the Graphviz package, which defines a code (dot), as well as programs to produce graphs (dotty, to be called from command line). This gives you as researcher most power over how your tree will look, but has a learning curve. Also, kgraphviewer works fine with dot generated by GRAMPS. An alternative is to make a graphical report, converting the tree to an svg file, which you then can open/edit/refine in eg Inkscape.
- ttf-freefont: Useful as a font that supports a large subset of the unicode and is a true type. This works well with both gnomeprint and graphviz output.
Other packages might also be usefull:
- Yelp: Gnome help browser. This allows to call and read the GRAMPS documentation on your computer.
- desktop-file-utils: see list of programs to open a media file on right click on an image
Installing from source
GRAMPS 2.0 requires python 2.3 and the gnome-python and pygtk2 packages. The gnome-python module should be 2.6.0 or greater. The pygtk package should be version 2.5.0 or greater.
Also librsvg2-common is needed. This is a common error at the moment in some packages. Without this library, the icons are not shown.
Linux Package Requirements
|Debian /Ubuntu||Fedora /Redhat||Comment|
|python||python||Required (needs version 2.3 or later) [does 2.3 include set()?]|
|pygtk2||pygtk2||Required (needs 2.5.0 or greater)|
|gnome-python||gnome-python||Required (needs 2.6.0 or greater)|
|librsvg2-common||librsvg2||Required for building|
|librsvg2-devel||Required for building|
|gnome-common||Required for building|
|intltool||Required for building|
|gnome-doc-utils||Required for building|
Obtaining the source
- The lastest stable version of GRAMPS can be downloaded from the GRAMPS SourceForge page. As of this writing, this is gramps-2.2.10.tar.gz. Extract this file into a directory:
tar xzvf gramps-zzz.tar.gz
and then go into this directory:
- If you are interested in testing out the latest development version of GRAMPS, it can be obtained from SVN, see Brief introduction to SVN. The SVN version of GRAMPS is potentially very dangerous as it has not been extensively tested. It may be prone to crashing and cause extensive data loss. Please use with caution.
Installing from source code on Linux
Debian users will have various editions installed on their kit. Invariably the installation of GRAMPS requires more files, libraries, etc, than are available in the installed Debian software. Additionally, that there will be dependencies to be addressed.
Debian 4 (Etch, the current "stable" edition) users should "extract" the downloaded gramps-2.8.8.tar.gz to its selected directory, then cd (as user) to that directory as GRAMPS needs to be configured in preparation for installation.
GRAMPS provides a script that can be used to prepare the code for building. This script automatically calls the standard configure script:
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.
make (as user)
make install (as root)
Installing from source code on BSD
Installing on BSD is as straithforward as on linux, apart from some minor issues like tools having different names. See the BSD page for details.
Installing from source code on Mac OS X
Some users have successfully installed GRAMPS on Mac OS X. See the Mac OS X page for details. Please, add to the wiki if you successfully installed GRAMPS on OS X.
Installing from source code on Windows
Fortunately for users of Microsoft Windows have some users have made a Windows installer. So far there have not been any reports of serious differences between the official builds of GRAMPS and the Windows Installer, so the future looks promising. But please, use this at your own risk. The developers of GRAMPS provide the space for this install page, but are not responsible for it.
If the dependencies are in place, the development version can be tested by getting the source (see above), renaming the file const.py.in to const.py, and executing "python gramps.py" from within the src directory. Of course, this is a development version on an unsupported platform, so warnings apply even more to this case than when using the installer. (I have not managed to get a localized build working this way.)
Installing from source code on Solaris
Previous versions of GRAMPS have run on Solaris. No recent cases are known to us however. Should you have successfully installed GRAMPS on Solaris, please update the Solaris page.