Operating System-Specific Notes

FreeBSD

At Operating System installation

  • Choose ZFS filesystem and encryption

  • Create the gnuhealth user at installation time

  • Select SSHD and NTP services at boot time

Install requirements

# pkg install python
# pkg install postgresql16-server
# pkg install wget bash patch rust
# pkg install cmake gmake libxml2 libxslt jpeg-turbo

Initialize PostgreSQL

# /usr/local/etc/rc.d/postgresql initdb
# sysrc postgresql_enable=yes
# service postgresql start

Requirements for GTK client

You have to install some requirements as system packages before installing the client using pip:

# pkg install gcc py39-gobject3 py39-pip

Debian

Download and install the Operating System

  • Download the Debian OS image

  • Check the partitioning and FS options (we use ext4 filesystem)

  • Choose XFCE (optional)

  • Enable SSHD server

  • Create the user “gnuhealth” when prompted at installation time.

Install the requirements

$ sudo apt-get install postgresql patch python3-pip unoconv wget libreoffice-nogui gettext

Next step: Creating the Operating System User

Requirements for GTK client

You have to install some requirements as system packages before installing the client using pip:

$ sudo apt install python3-gi python3-gi-cairo python3-goocalendar gir1.2-gtk-3.0 libcairo2-dev libgirepository1.0-dev python3-dev python3-pip gcc

Void Linux

# xbps-install postgresql-16_1 postgresql16-client-16.1_1
# ln -s /etc/sv/postgresql16/ /var/service
  • Check the status of the installation and running server

# sv status postgresql16

Next step: Creating the Operating System User

openSUSE

Note

This section provides the instructions for the official and standard (vanilla) installation on openSUSE. If you want to use the openSUSE package based installation, please refer to the Community Pages

Download and install the Operating System

  • Download the openSUSE Leap Network CD image

  • Check the partitioning and FS options (we use ext4 filesystem)

  • Select SERVER (text only) installation

  • Enable SSHD server

  • Create the user “gnuhealth” when prompted at installation time

Install the requirements

We need to use Python3.11

$ sudo zypper in patch python311

Replace default Python 3.6 with 3.11:

$ ln -si python3.11 python

Install the rest of dependencies

$ sudo zypper in patch postgresql15-server postgresql15-server-devel gcc python311-devel libreoffice

Initialize the PostgreSQL environment. The next systemctl start command will generate the initial pg cluster.

$ sudo systemctl start postgresql
$ sudo systemctl enable postgresql

Next step: Creating the Operating System User

Requirements for GTK client

You have to install some requirements as system packages before installing the client using pip:

$ sudo zypper in python3-pip gcc python3-devel cairo-devel gobject-introspection-devel typelib-1_0-Gtk-3_0 python3-gobject-Gdk

Ubuntu

  • Create the gnuhealth user at installation time

  • Enable SSH server

Update the Sources

$ sudo apt-get update

Install requirements

$ sudo apt-get install python3-pip postgresql libreoffice-nogui wget

Next step: Creating the Operating System User

Requirements for GTK client

You have to install some requirements as system packages before installing the client using pip:

$ sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 libcairo2-dev libgirepository1.0-dev python3-dev python3-pip gcc