1,965
edits
Changes
no edit summary
{{languages|Linux:Build from source}}{{stub}}How to build Gramps from source on Linux.
* Developers who need to be able to modify the source and have those modifications take effect.
* Packagers who need to be able to construct a package for installation by user.
Or use your distribution's package manager to uninstall if your old Gramps version was installed as a package.
= Gramps 4.2 and up=
{{man menu|Gramps 4.2 and beyond only work with Python 3.2 or greater.}}This should be handled automatically if Gramps is installed from your distro's repository.
= Gramps 4.0 to 4.1 =
== Obtain the source ==
There are two ways to get the source code: download a released version source, or clone the source from Git.
| [http://docs.python.org/library/bsddb.html BSDDB]
| [http://docs.python.org/library/bsddb.html BSDDB]
| Current backend, <code>python3-bsddb3 </code> for python 3!
|-
| xdg-utils
| python-pygoocanvas gir1.2-goocanvas-2.0-9
| goocanvas pygoocanvas
| Required for [[Addon:Graph View]]
|-
|python3-django
| Django
| Required for http://gramps-connect.org [[Gramps-Connect: Introduction|Gramps-Connect]]
Local installation without root privileges is possible, instructions are available on the INSTALL file.
== Build, Install and Run Gramps 4.0 to Gramps 45.1 x ==Note that the 'python' commands below need to be 'python3' for Gramps 4.2 and later.
python setup.py build
then use the gnome-tweak-tool to switch to that. For KDE you need to go also to Settings->Appearance->GTK and set the GTK 3 theme there to the one you installed.
==== Full install walkthrough walk-through Windows ====The native windows support for Gramps 4.x takes a bit more effort. You find can follow the a walk-through for* [[Run_Gramps40_for_Windows_from_source_using_Python_2Run Gramps40 for Windows from source using Python 2.7.3]]* Run Gramps40 for Windows from source using Python 3.4 ('''Not available, but you should be able to follow the instructions for the Python 2.7.3 version and modify accordingly ''')
An alternative on windows is ot to install [https://www.virtualbox.org/ virtualbox] and then install K/X/Ubuntu as indicated above, which will give you linux Linux in windows.
= Gramps 3.4.x =
| python-pygoocanvas
| goocanvas pygoocanvas
| Required for [[Addon:Graph View]]
|-
| graphviz
= See also =
* [[Gramps_4.2_Wiki_Manual_Gramps_{{Version manual}}_Wiki_Manual_-_Command_Line#GRAMPSHOME |$GRAMPSHOME]]
* [[Translating_Gramps#.24GRAMPSI18N_.28for_your_locale.29| $GRAMPSI18N (for your locale) ]]
* [[Installation_alternatives]]
* [[Translating_Gramps#Installing_your_translation|Installing your translation (Gramps 3.x and earlier)]] or [[Translation_environment4|Gramps 4.x and later]]
* [[Howto:Change_the_language_of_reports#Run_Gramps_in_a_different_language|Howto:Change the language of reports - Run Gramps in a different language]]
* [[Fedora rpmRPM]]
[[Category:Documentation]]
[[Category:Developers/Installation]]
[[Category:Developers/Packaging]]