How To Install libjaxb-java-doc on Debian 10

Learn how to install libjaxb-java-doc on Debian 10 with this tutorial. libjaxb-java-doc is JAXB Reference Implementation – documentation

Introduction

In this tutorial we learn how to install libjaxb-java-doc on Debian 10.

What is libjaxb-java-doc

libjaxb-java-doc is:

GlassFish Java Architecture for XML Binding (JAXB) Reference Implementation.

Java Architecture for XML Binding (JAXB) provides a fast and convenient way to bind XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling (reading) XML instance documents into Java content trees, and then marshalling (writing) Java content trees back into XML instance documents. JAXB also provides a way to generate XML schema from Java objects.

This package contains the Javadoc API.

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

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

Install libjaxb-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjaxb-java-doc

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

sudo aptitude -y install libjaxb-java-doc

How To Uninstall libjaxb-java-doc on Debian 10

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

sudo apt-get remove libjaxb-java-doc

Uninstall libjaxb-java-doc And Its Dependencies

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

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

Remove libjaxb-java-doc Configurations and Data

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

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

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

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

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

Dependencies

libjaxb-java-doc have the following dependencies:

References

Summary

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