Difference between revisions of "Installation"

From Gramps
Jump to: navigation, search
(Upgrading to the latest version)
(261 intermediate revisions by 32 users not shown)
Line 1: Line 1:
 
{{languages}}
 
{{languages}}
  
 +
== Users ==
  
==Live CD==
+
Full download and installation instructions for [[Image:linux_32x32.png|link=Download#Linux]], [[Image:windows_32x32.png|link=Download#MS_Windows]] and [[Image:macosx_32x32.png|link=Download#Mac_OS_X]] are on the [[Download]] page.
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 [http://ubuntu.com Ubuntu 8.04] and GRAMPS from the CD anytime you like.
 
  
==Automatic download and install of GRAMPS==
+
== Developers, packagers and advanced users ==
Before downloading GRAMPS from this site, see if your operating system's repository makes the current version available. To see what the current version is, visit [http://sourceforge.net/project/showfiles.php?group_id=25770&package_id=109309 GRAMPS stable on Sourceforge] and look at the version number of the top package.
 
  
To check what is available specifically for your operating system some methods are listed below:
+
See  instructions for [[Build from source|building from source]].
* Mandriva: <code>
 
  urpmi gramps</code>
 
* Debian based systems (Ubuntu and it's variants, Mepis, Suse...): <code>
 
  apt-get install gramps</code>
 
* Redhat based systems (Fedora, CentOS...): <code>
 
  yum install gramps</code>
 
  
==Manual download and install of GRAMPS==
+
== See also ==
If you can't access the current version from your operating system's repositories you'll need to get it from this site. Some helpful users of GRAMPS have made packages for various systems. If you're lucky you'll find your system below. If it's missing you can contact the developers email list for advice.
 
  
* '''Ubuntu''' and derivatives (Kubuntu, Mephis, ...): Ubuntu packages are available on [http://sourceforge.net/project/showfiles.php?group_id=25770 GRAMPS download page].
+
* $GRAMPSHOME on [[Gramps 4.2 Wiki Manual - Command Line#Environment variables]]
** Hardy (8.04) : download [http://sourceforge.net/project/showfiles.php?group_id=25770  gramps_3.0.1-1_Ubuntu840.deb]
+
* [[Translating_Gramps#.24GRAMPSI18N_.28for_your_locale.29| $GRAMPSI18N (for your locale) ]]
** Gutsy (7.10) : download [http://sourceforge.net/project/showfiles.php?group_id=25770  gramps_3.0.1-1_Ubuntu710.deb]
+
* [[Installation_alternatives]]
** Feisty (7.04) : download [http://sourceforge.net/project/showfiles.php?group_id=25770  gramps_2.2.10-1_all.deb]  and [http://sourceforge.net/project/showfiles.php?group_id=25770  gramps-help_2.2.10-1_all.deb] , and install with your package manager. Standard you could use the [http://packages.ubuntu.com/gutsy/admin/gdebi  gdebi] package.
+
* [[Translation_environment4|Translating Gramps - Installing_your_translation]]
** Dapper, Edgy and before: 2.2.10 is not available yet, for now download [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps_2.2.8-1dapper1_all.deb]  and [http://sourceforge.net/project/showfiles.php?group_id=25770 gramps-help_2.2.8-1dapper1_all.deb] , and install with your package manager.
+
* [[Howto:Change_the_language_of_reports#Run_Gramps_in_a_different_language|Howto:Change the language of reports # Run Gramps in a different language]]
* '''SuSE''': Richard Bos has been providing the GRAMPS releases for SuSE's apt repository. They are available from his [http://software.opensuse.org/download/home:/rbos/ ''rbos'' repository]. See also the forum entry about [http://www.suseforums.net/index.php?s=22f80a050a1e3cffffd590db0813dea9&showtopic=28727&pid=152093&st=0&#entry152093 satisfying GRAMPS dependencies for SuSE with the ''rbos'' and SMART].
 
* '''Mandriva''': Newer versions of GRAMPS are sometimes backported. To install backports you must enable the ''backports'' repository (make sure you understand the instructions on the [http://wiki.mandriva.com/en/Docs/Basic_tasks/Installing_and_removing_software#Advanced_use:_Backports_and_candidate_updates Mandriva wiki]). If the latest version is not in the ''backports'' repository you cab try the ''contrib'' repository.
 
* '''Fedora''': For Fedora Core 6 look on the [http://sourceforge.net/project/showfiles.php?group_id=25770 GRAMPS download page] for a package containing ''fc6''  and ending with ''.rpm''. For Fedora 7, ''fc7'' and so on. The alternative to installing from source is to [[fedora rpm|build a package]] from an rpm spec file, or install a binary from fedora testing.
 
* '''Debian''': the latest version should be in the ''unstable'' repository ([http://packages.debian.org/sid/gramps Sid Gramps]) and can be upgraded from your package manager. The ''testing'' repository is updated 10 days later (except near a new stable release), see [http://packages.debian.org/lenny/gramps Lenny Gramps].
 
 
 
''Note: Different GNU/Linux distributions have different preferred ways to download and install packages for GRAMPS. Please read the installation instructions specific to your distribution before downloading.''
 
 
 
In all other cases, you must [http://sourceforge.net/project/showfiles.php?group_id=25770 download] the source package (the file ending with '.tar.gz') and install GRAMPS manually. See the section about installing from source 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 MacOSX, both the [http://finkproject.org Fink project] and [http://macports.org MacPorts] have Gramps as a installable package. Fink currently has '''very''' old versions available it in the [http://pdb.finkproject.org/pdb/package.php/gramps# package database]. Detailed instructions on using both these systems to install recent versions of gramps are given under [[Installing from source code on Mac OS X]]
 
 
 
For BSD and Solaris there are experimental install instructions below. For FreeBSD use the ''/usr/ports/science/gramps'' port.
 
 
 
==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, [https://gna.org/projects/kgraphviewer 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==
 
===General Requirements===
 
 
 
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 ====
 
{|border="1" align ="center"
 
|-
 
|Debian      /Ubuntu
 
|Fedora      /Redhat
 
|Comment
 
|-
 
|python
 
|python
 
|Required (needs version 2.5 or later)
 
|-
 
|pygtk2
 
|pygtk2
 
|Required (needs 2.5.0 or greater)
 
|-
 
|gnome-python
 
|gnome-python
 
|Required (needs 2.6.0 or greater)
 
|-
 
|rcs
 
|rcs
 
|Suggested for running
 
|-
 
|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
 
|-
 
|
 
|gcc, make, gettext
 
|Required for building
 
|-
 
|}
 
 
 
===Obtaining the source===
 
 
 
* The lastest stable version of GRAMPS can be downloaded from the [http://sourceforge.net/projects/gramps GRAMPS SourceForge page]. As of this writing, this is gramps-3.0.1.tar.gz. Extract this file into a directory: <code>
 
  tar xzvf gramps-zzz.tar.gz
 
</code> and then go into this directory:<code>
 
  cd gramps-zzz
 
</code>
 
* If you are interested in testing out the very latest development versions of GRAMPS, they can be obtained from SVN, see [[Brief introduction to SVN]]. The SVN versions of GRAMPS are potentially very dangerous as they have not been extensively tested - especially the "trunk" version 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!
 
 
 
Please, now is the time to read the [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/INSTALL?view=markup INSTALL] and [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/README?view=markup README] files accompanying the code. They come with the most recent information.
 
 
 
===Dealing with earlier versions===
 
 
 
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.
 
 
 
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<code>
 
  make uninstall</code>
 
 
 
as root from where you installed the version from. Use your distribution's package manager to uninstall if your old version was installed as a package.
 
 
 
===Installing from source code 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 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 (as user)</code>
 
 
 
then <code>
 
  make install (as root) </code>
 
 
 
===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, 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]].
 
 
 
==GRAMPS on handhelds==
 
GRAMPS can run fine on some small-factor devices. Users have been successfull in using GRAMPS on:
 
* [[Gramps on the Eee|Asus Eee PC]]
 
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]

Revision as of 02:26, 30 May 2017

Users

Full download and installation instructions for Linux 32x32.png, Windows 32x32.png and Macosx 32x32.png are on the Download page.

Developers, packagers and advanced users

See instructions for building from source.

See also