How To Install raritan-json-rpc-doc on Debian 12
Introduction
In this tutorial we learn how to install raritan-json-rpc-doc
on Debian 12.
What is raritan-json-rpc-doc
raritan-json-rpc-doc is:
This package contains the HTML documentation for the JSON-RPC SDK from Xerus?? for the Rraitan or Xerus?? PDU product series PX2, PX3, BCM and EMX, as well the Raritan Transfer Switch series generated by Doxygen.
It gives an overview about the SDK which is provided with bindings for the languages Java, Mono/C#, Python and Perl. It also contains some simple but detailed examples for the mentioned languages within the HTML documentation.
It also includes some basic examples about the usage of Lua scripts directly on the PDU transferred by JSON-RPC or using via USB stick.
The SDK documentation can be accessed by open the file /usr/share/doc/raritan-json-rpc-doc/html/index.html.
There are three methods to install raritan-json-rpc-doc
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install raritan-json-rpc-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 raritan-json-rpc-doc
using apt-get
by running the following command:
sudo apt-get -y install raritan-json-rpc-doc
Install raritan-json-rpc-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install raritan-json-rpc-doc
using apt
by running the following command:
sudo apt -y install raritan-json-rpc-doc
Install raritan-json-rpc-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 raritan-json-rpc-doc
using aptitude
by running the following command:
sudo aptitude -y install raritan-json-rpc-doc
How To Uninstall raritan-json-rpc-doc on Debian 12
To uninstall only the raritan-json-rpc-doc
package we can use the following command:
sudo apt-get remove raritan-json-rpc-doc
Uninstall raritan-json-rpc-doc And Its Dependencies
To uninstall raritan-json-rpc-doc
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove raritan-json-rpc-doc
Remove raritan-json-rpc-doc Configurations and Data
To remove raritan-json-rpc-doc
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge raritan-json-rpc-doc
Remove raritan-json-rpc-doc configuration, data, and all of its dependencies
We can use the following command to remove raritan-json-rpc-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge raritan-json-rpc-doc
Dependencies
raritan-json-rpc-doc have the following dependencies:
References
Summary
In this tutorial we learn how to install raritan-json-rpc-doc
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.