Changes

Jump to: navigation, search

Installation alternatives

No change in size, 03:36, 23 January 2013
m
Gramps
{{man warn|Warning:|It is assumed that you know what you are doing. If you are trying to normally install stable GRAMPS Gramps version then see [[Installation]] page instead.}}
This page describes other possible ways of running GRAMPS Gramps without necessarily installing it the conventional way.
The two alternatives to the conventional installation are:
== Why install non-conventionally? ==
There might be many reasons you want to not conventionally install GRAMPSGramps. You might have heard about a new feature you want to try that hasn't been released yet. You might be interested in adding a new feature. You might be interested in getting under the hood to take a look around. In case you have a stable working version of GRAMPSGramps, you would not want to disturb that installation by installing something experimental on top of it.
== Common steps ==
== Running from the source directory ==
This is the strategy in which just a bare minimum gets installed globally, to enable GRAMPS Gramps to start. The entirety of GRAMPS Gramps code will sit in your home directory, right where you downloaded it, and will run from there.
=== Bare minimum installation on Linux ===
./autogen.sh
Next, install the bare minimum files for GRAMPSGramps.
''Note'': If you have a fairly recent stable GRAMPS Gramps version, you may be able to skip this step. If in doubt, try without it, and see if you get errors related to mime types or gconf schemas. If you do, you need to go through this part.
Change to the <code>data</code> directory, then run <code>make install</code> as a super-user (Ubuntu users will probably use <code>sudo</code>):
=== Bare minimum installation on Windows===
Fundamentally all you need to run GRAMPS Gramps on Windows is the const.py file which is generated from the template named const.py.in. During generation, the GRAMPS Gramps version is placed in const.py. If you don't care about the version, you can just copy const.py.in to const.py. First, from a command prompt, cd into the directory where you downloaded or extraced the source files. Then, issue the following command:
copy src\const.py.in src\const.py
=== Running GRAMPS Gramps ===You can now start GRAMPS Gramps locally, by typing on the command line:
cd src
python gramps.py
Now you can edit files and run <code>python gramps.py</code> without mucking with your official installation of GRAMPSGramps.
'''Note''': You should '''NOT''' do ''make install'' with the SVN version, as this will install the unstable version globally. If you want a more recent version of GRAMPS Gramps globally, download '''a stable release''' from sourceforge following the [[Installation]] instructions.
=== Limitations ===
This way you should be able to run GRAMPS Gramps and be OK in most regards. You will probably not get the current translations because we did not install them properly. For that see:
* [[Translating_Gramps#.24GRAMPSI18N_.28for_your_locale.29| $GRAMPSI18N (for your locale) ]]
This is the 100% proper installation strategy that allows you to skip nothing and install into weird places. People do that either because they lack root access and cannot install the regular way, or because of their personal reasons (e.g. weird systems without /usr dir :-). If you fall into this category, start with the [http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/gramps2/INSTALL?view=log INSTALL] file shipped with the source.
Most things in GRAMPS Gramps can be installed anywhere and GRAMPS Gramps will happily run from that location. The exceptions are:
* gconf schemas
* mime types

Navigation menu