How To Install h5ar on Kali Linux

In this tutorial we learn how to install h5ar on Kali Linux. h5ar is easy-to-use HDF archiver using Java

Introduction

In this tutorial we learn how to install h5ar on Kali Linux.

What is h5ar

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).

There are three methods to install h5ar on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install h5ar Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install h5ar using apt-get by running the following command:

sudo apt-get -y install h5ar

Install h5ar Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install h5ar using apt by running the following command:

sudo apt -y install h5ar

Install h5ar Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install h5ar using aptitude by running the following command:

sudo aptitude -y install h5ar

How To Uninstall h5ar on Kali Linux

To uninstall only the h5ar package we can use the following command:

sudo apt-get remove h5ar

Uninstall h5ar And Its Dependencies

To uninstall h5ar and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove h5ar

Remove h5ar Configurations and Data

To remove h5ar configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge h5ar

Remove h5ar configuration, data, and all of its dependencies

We can use the following command to remove h5ar configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge h5ar

Dependencies

h5ar have the following dependencies:

References

Summary

In this tutorial we learn how to install h5ar package on Kali Linux using different package management tools: apt, apt-get and aptitude.