How To Install libopenjpa-java-doc on Debian 9

In this tutorial we learn how to install libopenjpa-java-doc on Debian 9. libopenjpa-java-doc is Documentation for libopenjpa-java

Introduction

In this tutorial we learn how to install libopenjpa-java-doc on Debian 9.

What is libopenjpa-java-doc

libopenjpa-java-doc is:

Documentation for OpenJPA that is Apache’s implementation of Sun’s Java Persistence 2.0 API (JSR-317 JPA 2.0) specification for the transparent persistence of Java objects.

It is an object-relational mapping (ORM) solution for the Java language, which simplifies storing objects in databases.

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

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

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

Install libopenjpa-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopenjpa-java-doc

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

sudo aptitude -y install libopenjpa-java-doc

How To Uninstall libopenjpa-java-doc on Debian 9

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

sudo apt-get remove libopenjpa-java-doc

Uninstall libopenjpa-java-doc And Its Dependencies

To uninstall libopenjpa-java-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:

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

Remove libopenjpa-java-doc Configurations and Data

To remove libopenjpa-java-doc configuration and data from Debian 9 we can use the following command:

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

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

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

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

Dependencies

libopenjpa-java-doc have the following dependencies:

References

Summary

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