How To Install yorick-hdf5 on Ubuntu 18.04

In this tutorial we learn how to install yorick-hdf5 on Ubuntu 18.04. yorick-hdf5 is Hierarchical Data Format 5 interface for the Yorick language

Introduction

In this tutorial we learn how to install yorick-hdf5 on Ubuntu 18.04.

What is yorick-hdf5

yorick-hdf5 is:

HDF5 is the yorick interface plugin to the NCSA Hierarchical Data Format version 5. It includes function for reading, writing, updating, getting information on HDF5 files.

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

Install yorick-hdf5 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install yorick-hdf5

Install yorick-hdf5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install yorick-hdf5

Install yorick-hdf5 Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install yorick-hdf5

How To Uninstall yorick-hdf5 on Ubuntu 18.04

To uninstall only the yorick-hdf5 package we can use the following command:

sudo apt-get remove yorick-hdf5

Uninstall yorick-hdf5 And Its Dependencies

To uninstall yorick-hdf5 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove yorick-hdf5

Remove yorick-hdf5 Configurations and Data

To remove yorick-hdf5 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge yorick-hdf5

Remove yorick-hdf5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge yorick-hdf5

References

Summary

In this tutorial we learn how to install yorick-hdf5 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.