How To Install substance-doc on Ubuntu 18.04

In this tutorial we learn how to install substance-doc on Ubuntu 18.04. substance-doc is cross-platform look & feel for Swing applications - documentation

Introduction

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

What is substance-doc

substance-doc is:

The goal of this project is to provide a configurable and customizable production-quality Java look and feel library for Swing applications. This Java look and feel is available for JDK 5.0+ only.

This package contains API documentation (Javadoc) for substance.

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

sudo apt-get -y install substance-doc

Install substance-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install substance-doc

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

sudo aptitude -y install substance-doc

How To Uninstall substance-doc on Ubuntu 18.04

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

sudo apt-get remove substance-doc

Uninstall substance-doc And Its Dependencies

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

sudo apt-get -y autoremove substance-doc

Remove substance-doc Configurations and Data

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

sudo apt-get -y purge substance-doc

Remove substance-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge substance-doc

References

Summary

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