How To Install hdf-compass-doc on Ubuntu 18.04

In this tutorial we learn how to install hdf-compass-doc on Ubuntu 18.04. hdf-compass-doc is documentation and examples for the HDF Compass

Introduction

In this tutorial we learn how to install hdf-compass-doc on Ubuntu 18.04.

What is hdf-compass-doc

hdf-compass-doc 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 documentation and examples for the HDF Compass application.

There are three methods to install hdf-compass-doc 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 hdf-compass-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install hdf-compass-doc

Install hdf-compass-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install hdf-compass-doc using apt by running the following command:

sudo apt -y install hdf-compass-doc

Install hdf-compass-doc 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 hdf-compass-doc using aptitude by running the following command:

sudo aptitude -y install hdf-compass-doc

How To Uninstall hdf-compass-doc on Ubuntu 18.04

To uninstall only the hdf-compass-doc package we can use the following command:

sudo apt-get remove hdf-compass-doc

Uninstall hdf-compass-doc And Its Dependencies

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

sudo apt-get -y autoremove hdf-compass-doc

Remove hdf-compass-doc Configurations and Data

To remove hdf-compass-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge hdf-compass-doc

Remove hdf-compass-doc configuration, data, and all of its dependencies

We can use the following command to remove hdf-compass-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge hdf-compass-doc

References

Summary

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