gsl-histogram command not found

In this troubleshooting guide we learn how to fix gsl-histogram command not found error message

Introduction

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

gsl-histogram: command not found

or when using sudo you get the following error message

sudo: gsl-histogram: command not found

Solutions to gsl-histogram: command not found

How To Fix gsl-histogram: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gsl-histogram is provided by gsl-bin package.

gsl-bin is:

The GNU Scientific Library (GSL) is a collection of routines for numerical analysis. The routines are written from scratch by the GSL team in C, and present a modern API for C programmers, while allowing wrappers to be written for very high level languages.

This package provides several example binaries.

URL: http://www.gnu.org/software/gsl/

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

sudo apt-get -y install gsl-bin

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

You can also use apt command to install gsl-bin.

sudo apt -y install gsl-bin

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

sudo aptitude install gsl-bin

Summary

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