How To Install librepository-java-doc on Ubuntu 18.04

In this tutorial we learn how to install librepository-java-doc on Ubuntu 18.04. librepository-java-doc is abstraction library for accessing hierachic bulk content – documentation

Introduction

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

What is librepository-java-doc

librepository-java-doc is:

LibRepository provides a simple abstraction layer to access bulk content that is organized in a hierarchical layer.

Unlike the JSR-000170, this library does not aim to solve all problems associated with content storages. The main purpose of LibRepository is to give users an abstract view over an filesystem like structure so that content generator and content consumer do no longer have to make assumptions about where to store the generated content.

The repositories described here should not be used to store other things than BLOBs.

This package contains the Javadoc.

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

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

Install librepository-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librepository-java-doc

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

sudo aptitude -y install librepository-java-doc

How To Uninstall librepository-java-doc on Ubuntu 18.04

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

sudo apt-get remove librepository-java-doc

Uninstall librepository-java-doc And Its Dependencies

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

Remove librepository-java-doc Configurations and Data

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

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

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

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

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

References

Summary

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