ghkl command not found

In this troubleshooting guide we learn how to fix ghkl command not found error message

Introduction

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

ghkl: command not found

or when using sudo you get the following error message

sudo: ghkl: command not found

Solutions to ghkl: command not found

How To Fix ghkl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ghkl is provided by ghkl package.

ghkl is:

The hkl library is a framework for diffraction computation and diffractometer control, heavily used at the SOLEIL synchrotron. It supports various types of diffractometer geometry: Eulerian 4-circle, Eulerian 6-circle, kappa 4-circle, kappa 6-circle, and z-axis geometry. For each of these it provides several numerically computed modes, such as bisector and constant psi.

This package provides a gui on top of the hkl library.

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

sudo apt-get -y install ghkl

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

You can also use apt command to install ghkl.

sudo apt -y install ghkl

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

sudo aptitude install ghkl

Summary

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