How To Install libjenkins-json-java-doc on Debian 9
Introduction
In this tutorial we learn how to install libjenkins-json-java-doc on Debian 9.
What is libjenkins-json-java-doc
libjenkins-json-java-doc is:
JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.
This package provides the API documentation for libjenkins-json-java.
There are three methods to install libjenkins-json-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 libjenkins-json-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 libjenkins-json-java-doc using apt-get by running the following command:
sudo apt-get -y install libjenkins-json-java-doc
Install libjenkins-json-java-doc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libjenkins-json-java-doc using apt by running the following command:
sudo apt -y install libjenkins-json-java-doc
Install libjenkins-json-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 libjenkins-json-java-doc using aptitude by running the following command:
sudo aptitude -y install libjenkins-json-java-doc
How To Uninstall libjenkins-json-java-doc on Debian 9
To uninstall only the libjenkins-json-java-doc package we can use the following command:
sudo apt-get remove libjenkins-json-java-doc
Uninstall libjenkins-json-java-doc And Its Dependencies
To uninstall libjenkins-json-java-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libjenkins-json-java-doc
Remove libjenkins-json-java-doc Configurations and Data
To remove libjenkins-json-java-doc configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libjenkins-json-java-doc
Remove libjenkins-json-java-doc configuration, data, and all of its dependencies
We can use the following command to remove libjenkins-json-java-doc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjenkins-json-java-doc
Dependencies
libjenkins-json-java-doc have the following dependencies:
- default-jdk-doc
- libcommons-beanutils-java-doc
- libcommons-collections3-java-doc
- libcommons-logging-java-doc
References
Summary
In this tutorial we learn how to install libjenkins-json-java-doc package on Debian 9 using different package management tools: apt, apt-get and aptitude.