HDFCompass command not found

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

Introduction

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

HDFCompass: command not found

or when using sudo you get the following error message

sudo: HDFCompass: command not found

Solutions to HDFCompass: command not found

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

In Ubuntu HDFCompass is provided by hdf-compass package.

hdf-compass is:

HDF Compass is an experimental viewer program for HDF5 and related formats, designed to complement other more complex applications like HDFView. Strong emphasis is placed on clean minimal design, and maximum extensibility through a plugin system for new formats.

This package provides the HDF Compass application.

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

sudo apt-get -y install hdf-compass

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

You can also use apt command to install hdf-compass.

sudo apt -y install hdf-compass

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

sudo aptitude install hdf-compass

Summary

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