How To Install libhac-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libhac-java-doc on Ubuntu 18.04. libhac-java-doc is API documentation for hierarchical agglomerative clustering

Introduction

In this tutorial we learn how to install libhac-java-doc on Ubuntu 18.04.

What is libhac-java-doc

libhac-java-doc is:

Hac is a simple library for hierarchical agglomerative clustering. The goal of Hac is to be easy to use in any context that might require a hierarchical agglomerative clustering approach. You can use Hac by bundling Hac with your application, and by implementing two interfaces:

  • Experiment (to tell Hac what to cluster), and
  • DissimilarityMeasure (to tell Hac how to compute the dissimilarity between two observations).

This package contains the API documentation of libhac-java.

There are three methods to install libhac-java-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 libhac-java-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 libhac-java-doc using apt-get by running the following command:

sudo apt-get -y install libhac-java-doc

Install libhac-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhac-java-doc

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

sudo aptitude -y install libhac-java-doc

How To Uninstall libhac-java-doc on Ubuntu 18.04

To uninstall only the libhac-java-doc package we can use the following command:

sudo apt-get remove libhac-java-doc

Uninstall libhac-java-doc And Its Dependencies

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

sudo apt-get -y autoremove libhac-java-doc

Remove libhac-java-doc Configurations and Data

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

sudo apt-get -y purge libhac-java-doc

Remove libhac-java-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhac-java-doc

References

Summary

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