How To Install libportlet-api-2.0-spec-java-doc on Debian 10

Learn how to install libportlet-api-2.0-spec-java-doc on Debian 10 with this tutorial. libportlet-api-2.0-spec-java-doc is Java Portlet Specification V2.0 - documentation

Introduction

In this tutorial we learn how to install libportlet-api-2.0-spec-java-doc on Debian 10.

What is libportlet-api-2.0-spec-java-doc

libportlet-api-2.0-spec-java-doc is:

The Java Portlet API version 2.0 developed by the Java Community Process JSR-286 Expert Group.

Portlets are pluggable user interface components that are managed and displayed in a web portal like Liferay or JBoss Gatein.

Package current source code is taken from Apache Portals project http://portals.apache.org/.

This package provides the API documentation for libportlet-api-2.0-spec-java.

There are three methods to install libportlet-api-2.0-spec-java-doc on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libportlet-api-2.0-spec-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 libportlet-api-2.0-spec-java-doc using apt-get by running the following command:

sudo apt-get -y install libportlet-api-2.0-spec-java-doc

Install libportlet-api-2.0-spec-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libportlet-api-2.0-spec-java-doc using apt by running the following command:

sudo apt -y install libportlet-api-2.0-spec-java-doc

Install libportlet-api-2.0-spec-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libportlet-api-2.0-spec-java-doc using aptitude by running the following command:

sudo aptitude -y install libportlet-api-2.0-spec-java-doc

How To Uninstall libportlet-api-2.0-spec-java-doc on Debian 10

To uninstall only the libportlet-api-2.0-spec-java-doc package we can use the following command:

sudo apt-get remove libportlet-api-2.0-spec-java-doc

Uninstall libportlet-api-2.0-spec-java-doc And Its Dependencies

To uninstall libportlet-api-2.0-spec-java-doc and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libportlet-api-2.0-spec-java-doc

Remove libportlet-api-2.0-spec-java-doc Configurations and Data

To remove libportlet-api-2.0-spec-java-doc configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libportlet-api-2.0-spec-java-doc

Remove libportlet-api-2.0-spec-java-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libportlet-api-2.0-spec-java-doc

Dependencies

libportlet-api-2.0-spec-java-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install libportlet-api-2.0-spec-java-doc package on Debian 10 using different package management tools: apt, apt-get and aptitude.