Installing Gramps for Linux computers
Before upgrading your distribution Use your earlier version of Gramps to backup your Family Trees to the hardy and portable XML format1. |
Contents
Linux distributions
These packages are built and supported by the distros. If your distribution is not listed you may possibly find it listed on Repology |
Most Linux distributions come bundled with a version of Gramps, though it's not always the most recent version and it may not have been installed by default. Still it is recommended to use the Gramps version that comes with your distribution.
Below are ways to install Gramps on some of the more popular distributions:
Distribution | GUI Package manager | Current versions | Notes |
---|---|---|---|
Debian | Add/Remove Software |
|
available versions |
Ubuntu | Software Centre |
|
available versions/ (Also see: Backports) |
Linux Mint | Software Manager |
|
|
Fedora | Add/Remove Software (Gnome) or Software Management (KDE) |
|
available versions (packages.fedoraproject.org) available versions (koji Buildsystem) |
Mageia | drakrpm (or rpmdrake) |
|
Mageia App Db - gramps |
openSUSE | YaST |
|
available versions The most recent version can usually be installed from the 'openSUSE BuildService - GNOME:Apps' repository |
Slackware |
|
available versions | |
Arch Linux | pacman |
|
available versions |
Gentoo Linux |
|
available versions |
Debian package
For Debian-based linux distributions (Which includes Ubuntu ) Download the .deb file. Double-click on the downloaded .deb file or (for some distributions, e.g. Mint Debian) run the following command from the directory where the file was saved (change the filename to match the one you downloaded).
sudo dpkg -i gramps_5.2.3-1_all.deb
If you have an error about having unmet dependencies run:
sudo apt-get -f install
to install the dependencies.
If you see an error about an incomplete GTK installation and missing language translations when starting Gramps, run
sudo apt install language-pack-gnome-en
to install the proper language pack. You may need to replace 'en' with your own language code, like 'nl' for Dutch.
Useful command lines
Before upgrading you can[1]:
- Find out what version you are running, by using this:
dpkg-query -s gramps
that queries the package currently installed on your system and gives you info about it.
The line that begin with 'Depends:' contains a list of packages and their version numbers that your current installation depends on you can compare the required Dependencies with the new version you downloaded with the following command:
dpkg-deb -I gramps_Version.Number.Of.NewDownload_all.deb
for example, you can get just the two Depends lines to compare using:
dpkg-query -s gramps | grep Depends: dpkg-deb -I gramps_5.Version-Number_all.deb | grep Depends:
- If you are committed to an upgrade then make sure you have backed up you Family Trees to Gramps XML then run :
sudo dpkg -r gramps
this will remove the current gramps package (assuming its a python3 version older versions could be python-gramps )
- To stop Ubuntu updating gramps (to possibly an older version from Ubuntu!) you may need to run:
sudo apt-mark hold gramps
Upgrade is then complete.
Flathub
Increased directory isolation — ⚡new for version 5.2.0 : restricted access from the entire home directory down to Documents, Downloads, and Pictures
Flatpaks allow installing sandboxed versions of applications. This allows multiple versions to be installed without stepping on each other.
Gramps 5.2.2-0 is available as a Flatpak at Flathub.
Please use your existing installation to backup your database before proceeding. Also, it is a good idea to convert your database to SQLite because BSDDB3 support was dropped from the Gramps 5.2.0-0 flatpak. |
First set up Flatpak and the Flathub repository on your system. There are instructions for various distributions at https://flathub.org/setup
Second, you can use the blue install button at https://flathub.org/apps/details/org.gramps_project.Gramps if you set your software manager up to work with Flathub, or use the command below in a terminal:
flatpak install flathub org.gramps_project.Gramps
See Also
Discourse forum posting :
Build from source
For other distributions, the source and follow the instructions for Linux:Build from source
Linux Live CD
Outdated version warning Note this Linux live CD Demonstration includes Gramps 3.2.5 (an older version released 2010-11-17) and it is not recommended for general use |
Linux live CD Demonstration includes Gramps 3.2.5 pre-installed to trial, without touching anything on the hard drive. To start this boot the Computer with this Live Linux Desktop on a CD in the CD/DVD-ROM Drive. (Requires that you write this image to a CD-ROM using CD-Burner software eg:Nero, Imgburn, Rufus..). Download the CD (727 MB). The Linux Genealogy CD is based on Ubuntu 10.10 (Maverick Meerkat). 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 latest Ubuntu and Gramps from the CD anytime you like.
Online Demonstration
You can also try an online demonstration of version 5.1.4 of Gramps on rollApp ("Cloud platform for native applications") categorized under Utilities - #diagrams:
Select Launch Online then Test Drive(Opening/saving files will not be available)
Notes
Backup to Gramps XML format when updating. Although Gramps reads and writes GEDCOM 5.5.1 format fluently (because it is the de facto format for genealogical data interchange), never depend on such a rudimentary format for archiving your research. GEDCOM cannot store all the intricacies found in Gramps data. Always backup with the more robust Gramps XML format.
You will find a Make Backup... option in the Family Trees menu of recent Gramps versions. Alternately, use Export... in the same menu but deselect the privacy and filtering options in the Exporter Assistant to avoid omission of any data.
See: How to make a backup
See also
Installing Gramps for Desktops
Installation instructions specific to the different OSes are on the , , and pages.
GitHub Gramps for Desktops Releases
Wiki pages
Installing Gramps Web for online collaboration
Gramps Web is a frontend for a hosted instance of Gramps.