agh-profile-gen command not found

In this troubleshooting guide we learn how to fix agh-profile-gen command not found error message

Introduction

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

agh-profile-gen: command not found

or when using sudo you get the following error message

sudo: agh-profile-gen: command not found

Solutions to agh-profile-gen: command not found

How To Fix agh-profile-gen: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu agh-profile-gen is provided by aghermann package.

aghermann is:

Aghermann is a program designed around a common workflow in sleep-research, complete with scoring facility; cairo subpixel drawing on screen or to file; conventional PSD and EEG Micrcontinuity profiles; Independent Component Analysis; artifact detection; and Process S simulation following Achermann et al, 1993.

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

sudo apt-get -y install aghermann

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

You can also use apt command to install aghermann.

sudo apt -y install aghermann

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

sudo aptitude install aghermann

Summary

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