Updated version 28/1/21 for Gramps 5.1.2 on Ubuntu 20.04:
How to install and configure Gramps 5.1.2 on Ubuntu 20.04 (and probably other Ubuntu flavours), and be able to produce a standard family tree chart. There are many ways of working in Gramps - the below works ok for me (with some errors as mentioned below).
Install & Configure Gramps:
sudo apt-get install gramps
Install prerequisites for Chart views etc (some may already be installed on your distro):
(Note that python3 commands are not preceded by sudo. In general it is very hard to know if a given prerequisite is to be installed with ‘sudo apt install’, or python3!. NB Gramps uses Python 3, not Python 2).
Note that any Python packages that are already on the system should not be updated as this may break the system and render the OS unbootable!
Existing Python packages with their version numbers can be listed using ‘python3 -m pip list’.
(will require Ubuntu package ‘python3-pip’ to have been installed - see below).
Ubuntu packages can be checked for using 'sudo dpkg -l | grep ’ followed by at least part of package name:
For example looking for xdg-utils this will do:
sudo dpkg -l | grep xgd
Also alternatively to see if a package is in an Ubuntu repository
& if it is installed it will say (installed), first part of name is enough:
apt search xdg
Install the package if is not already on the system.
In a terminal:
sudo apt-get install graphviz libgraphviz-dev pkg-config
sudo apt install python3-pip
sudo apt install gir1.2-goocanvas-2.0
sudo apt install libpango1.0-dev
The following 3 Python packages were not on my system (check using python3 -m pip list)
so here they are installed:
python3 -m pip install graphviz
python3 -m pip install life-line-chart
(this gets rid of startup errors for Life Line charts about gpr.py)
(however not sure if LL charts working ok: X on icons, cannot zoom in)
python3 -m pip install networkx
(this is needed for the Network Chart report)
Already installed on my system:
gir1.2-pango-1.0 (checked with sudo dpkg -l | grep)
xdg-utils (checked with sudo dpkg -l | grep)
libgoocanvas-2.0-9 (checked with sudo dpkg -l | grep)
librsvg2 (as librsvg2-2, assume ok, checked with sudo dpkg -l | grep)
bsddb3 (checked with python3 -m pip list)
pyICU (checked with python3 -m pip list)
ghostscript (checked with python3 -m pip list)
Pillow (checked with python3 -m pip list)
(maybe more needed later - see Prerequisites Checker below)
Failed attempts to install prerequisites:
python3 -m pip install fontconfig (fails with errors)
Now start Gramps from the desktop main menu.
Edit, Preferences, General tab, Third Party Addons Management:
Check for Addon updates: Always, What to check: New & Updated,
Clear the ‘Do not ask’ checkbox.
Click ‘Check for Updated Addons Now’ button
Select All, click Install button.
Help, Plugin Manager: lists all available plugins - can Install or Uninstall.
Dealing with addons that won’t install or cause startup errors:
This could be due to missing prerequisites, so install the Plugin ‘Prerequisite Checker’ if not already installed.
On the Gramps Dashboard (select top of left-hand column), in a space R mouse, Add a Gramplet, Prereq Checker.
Prerequisites will be external to Gramps (so install to OS or Python separately eg in Linux terminal - see above).
Note: PostgreSQL won’t install & is not needed - so no need to install.
Once all addon errors have been dealt with, in Edit|Preferences|General|Third Party… check the
‘Do not ask’ checkbox to avoid being repeatedly reminded about addons that you chose not to install.
“Once you have finished with the Prerequisites Checker Gramplet remove it from the Dashboard otherwise, it slows down Gramps by refreshing every time you change views!”
Create a folder somwhere in your system that gets regularly backed up: My-Family-Trees
and another folder (not inside My-Family-Trees) called My-Family-Trees-Backup.
Within the folder My-Family-Trees create folders as follows for resources, for example:
Articles about families
Info on alternative names
Info on Individuals
Info on Places
Web Sites & software info
As you gather information place files in these & use a consistent naming convention eg:
(it’s worth thinking about as changing names of files will break links to them from your family tree database)
To make a new family tree:
Top menu Family Trees, Manage, New, provide a name
To make a tree with 2 parents and a child:
On left-hand menu select People, and using the + button at the top repeat entering each parent and the child; in each case enter at least Given Name, Family Name then using the Events tab:
Event tab, hit +, event type Birth (& death if known), give a date, add a place if at all possible (try to be consistent - you can merge places if necessary later - this info will be REALLY useful in piecing together families from patchy info). To add a picture of the person select the Gallery tab, click +, select a picture (jpg is ok), OK, OK, OK
To choose a set of parents, click Families on the left, hit +, select Partner1 and Partner2 using the ‘Select a Person’ buttons. Then if desired on the Events tab, +, Marriage, give a date. Then select the Children tab, ‘Add an Existing Person’ button, choose the child, OK, OK, OK
Now select an adult parent in the People list (single click), then click Relationships on the left. Notice that in this view you can give this person parents, siblings or children either by selecting an existing person in your Person list or using the + to create a new person then and there.
To see a pretty standard view of the family tree:
Click People on the left & select a parent (single click)
Click Charts on the left
Menu at top: View, Graph View
Once you get into it - many hours of work will go into making your tree. So regular backup is vital.
Backup Path - choose My-Family-Trees-Backup (see above).
Select Backup on Exit, and Autobackup Every Hour.
Ensure that My-Family-Trees-Backup gets backed up regularly.
Occasionally do this:
Top menu Family Trees, Export, Next, GEDCOM, Next, Next, Filename eg Family_20210115.ged, and
folder My-Family-Trees-Backup, Next, Apply.
Email this file and the latest *.gramps file (in that sam folder) to youself, together with a zipped file containing the whole of the folder My-Family-Trees.