gm-restore_database command not found

In this troubleshooting guide we learn how to fix gm-restore_database command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gm-restore_database: command not found

or when using sudo you get the following error message

sudo: gm-restore_database: command not found

Solutions to gm-restore_database: command not found

How To Fix gm-restore_database: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gm-restore_database is provided by gnumed-server package.

gnumed-server is:

This is the GNUmed Electronic Medical Record. Its purpose is to enable doctors to keep a medically sound record on their patients’ health. It does not currently provide functionality for billing and stock keeping. Clinical features are well-tested by real doctors in the field.

While the GNUmed team has taken the utmost care to make sure the medical records are safe at all times you still need to make sure you are taking appropriate steps to backup the medical data to a safe place at appropriate intervals. Do not forget to test your recovery procedures, too !

Protect your data! GNUmed itself comes without any warranty whatsoever. You have been warned.

This package contains the PostgreSQL server part.

Note: The package does currently NOT build the GNUmed database but just installs the needed SQL files. Please see README.Debian.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gnumed-server

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gnumed-server.

sudo apt -y install gnumed-server

Or if you have aptitude installed you can use the following command.

sudo aptitude install gnumed-server

Summary

In this tutorial we learn how to fix gm-restore_database command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.