h5ar command not found

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

Introduction

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

h5ar: command not found

or when using sudo you get the following error message

sudo: h5ar: command not found

Solutions to h5ar: command not found

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

In Ubuntu h5ar is provided by h5ar package.

h5ar is:

h5ar provides an archiver using a Java binding to the HDF Group library for HDF5 focusing on ease-of-use, which was developed by CISD and is now maintained by ETH SIS. The executable uses HDF5 1.8 from the HDF Group and files created with h5ar are fully compatible with HDF5 1.6/1.8 (as you choose).

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

sudo apt-get -y install h5ar

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

You can also use apt command to install h5ar.

sudo apt -y install h5ar

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

sudo aptitude install h5ar

Summary

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