Installing Gramps from a command line

I’ve just installed Gramps on a virtual machine running Ubuntu Noble. The following steps worked for me:

  1. IMPORTANT: Make sure that you make a backup before you start.
  2. Uninstall the existing version of Gramps, if any.
  3. On Ubuntu, make sure the following packages are installed:
  • python3-setuptools
  • gettext
  • intltool
  • python3-gi-cairo
  • python3-bsddb3
  • python3-icu
  • python3-lxml (for unit tests)
  • python3-mock (for unit tests)
  1. Download the tarball.
  2. Extract, build and install with the following commands:
tar xvzf gramps-5.2.1.tar.gz
cd gramps-5.2.1
python3 setup.py build
sudo python3 setup.py install --root=/
3 Likes