How To Install libcommons-discovery-java-doc on Debian 10
Introduction
In this tutorial we learn how to install libcommons-discovery-java-doc
on Debian 10.
What is libcommons-discovery-java-doc
libcommons-discovery-java-doc is:
The Discovery Component is about discovering, or finding, implementations for pluggable interfaces. It provides facilities instantiating classes in general, and for lifecycle management of singleton (factory) classes.
Fundamentally, Discovery locates classes that implement a given Java interface. The discovery pattern, though not necessarily this package, is used in many projects including JAXP (SaxParserFactory and others) and commons-logging (LogFactory). By extracting this pattern, other projects can (re)use it and take advantage of improvements to the pattern as Discovery evolves.
Discovery improves over previous implementations by establishing facilities for working within managed environments. These allow configuration and property overrides without appealing to the global System properties (which are scoped across an entire JVM).
This package contains the documentation.
There are three methods to install libcommons-discovery-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 libcommons-discovery-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 libcommons-discovery-java-doc
using apt-get
by running the following command:
sudo apt-get -y install libcommons-discovery-java-doc
Install libcommons-discovery-java-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcommons-discovery-java-doc
using apt
by running the following command:
sudo apt -y install libcommons-discovery-java-doc
Install libcommons-discovery-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 libcommons-discovery-java-doc
using aptitude
by running the following command:
sudo aptitude -y install libcommons-discovery-java-doc
How To Uninstall libcommons-discovery-java-doc on Debian 10
To uninstall only the libcommons-discovery-java-doc
package we can use the following command:
sudo apt-get remove libcommons-discovery-java-doc
Uninstall libcommons-discovery-java-doc And Its Dependencies
To uninstall libcommons-discovery-java-doc
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libcommons-discovery-java-doc
Remove libcommons-discovery-java-doc Configurations and Data
To remove libcommons-discovery-java-doc
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libcommons-discovery-java-doc
Remove libcommons-discovery-java-doc configuration, data, and all of its dependencies
We can use the following command to remove libcommons-discovery-java-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcommons-discovery-java-doc
Dependencies
libcommons-discovery-java-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libcommons-discovery-java-doc
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.