How To Install starlink-cdf-java-doc on Ubuntu 18.04

In this tutorial we learn how to install starlink-cdf-java-doc on Ubuntu 18.04. starlink-cdf-java-doc is CDF table support for Starjava (Javadoc)

Introduction

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

starlink-cdf-java-doc is:

CDF (Common Data Format) is a self-describing data format defined by NASA for the storage of scalar and multidimensional data in a platform- and discipline-independent way. This package adds CDF support for tables to the Starjava library.

This package contains the JavaDoc documentation of the package.

There are three methods to install starlink-cdf-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.

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

sudo apt-get update

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

sudo apt-get -y install starlink-cdf-java-doc

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install starlink-cdf-java-doc

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

sudo aptitude -y install starlink-cdf-java-doc

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

sudo apt-get remove starlink-cdf-java-doc

To uninstall starlink-cdf-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 starlink-cdf-java-doc

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

sudo apt-get -y purge starlink-cdf-java-doc

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

sudo apt-get -y autoremove --purge starlink-cdf-java-doc

References

Summary

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