How To Install libguice-java-doc on Debian 9
Introduction
In this tutorial we learn how to install libguice-java-doc
on Debian 9.
What is libguice-java-doc
libguice-java-doc is:
Documentation for Guice that is a framework that provides support for dependency injection using annotations to configure Java objects. Dependency injection is a design pattern whose core principle is to separate behavior from dependency resolution.
Guice allows implementation classes to be programmatically bound to an interface, then injected into constructors, methods or fields using an @Inject annotation. When more than one implementation of the same interface is needed, the user can create custom annotations that identify an implementation, then use that annotation when injecting it.
This package provides javadocs for Guice framework and example code.
There are three methods to install libguice-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 libguice-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 libguice-java-doc
using apt-get
by running the following command:
sudo apt-get -y install libguice-java-doc
Install libguice-java-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libguice-java-doc
using apt
by running the following command:
sudo apt -y install libguice-java-doc
Install libguice-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 libguice-java-doc
using aptitude
by running the following command:
sudo aptitude -y install libguice-java-doc
How To Uninstall libguice-java-doc on Debian 9
To uninstall only the libguice-java-doc
package we can use the following command:
sudo apt-get remove libguice-java-doc
Uninstall libguice-java-doc And Its Dependencies
To uninstall libguice-java-doc
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libguice-java-doc
Remove libguice-java-doc Configurations and Data
To remove libguice-java-doc
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libguice-java-doc
Remove libguice-java-doc configuration, data, and all of its dependencies
We can use the following command to remove libguice-java-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libguice-java-doc
Dependencies
libguice-java-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install libguice-java-doc
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.