How To Install libcssparser-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libcssparser-java-doc on Ubuntu 18.04. libcssparser-java-doc is Java CSS2 Parser (documentation)

Introduction

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

What is libcssparser-java-doc

libcssparser-java-doc is:

The CSS Parser is a Java library, that inputs Cascading Style Sheets Level 2 source text and outputs a Document Object Model Level 2 Style tree. Alternatively, applications can use SAC: The Simple API for CSS. Its purpose is to allow developers working with Java to incorporate Cascading Style Sheet information, primarily in conjunction with XML application developments.

This package provides the API documentation for libcssparser-java.

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

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

Install libcssparser-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcssparser-java-doc

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

sudo aptitude -y install libcssparser-java-doc

How To Uninstall libcssparser-java-doc on Ubuntu 18.04

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

sudo apt-get remove libcssparser-java-doc

Uninstall libcssparser-java-doc And Its Dependencies

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

Remove libcssparser-java-doc Configurations and Data

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

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

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

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

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

References

Summary

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