How To Install libjson-rpc-common-perl on Debian 11
Introduction
In this tutorial we learn how to install libjson-rpc-common-perl
on Debian 11.
What is libjson-rpc-common-perl
libjson-rpc-common-perl is:
JSON::RPC::Common provides abstractions for JSON-RPC 1.0, 1.1 (both variations) and 2.0 (formerly 1.2) Procedure Call and Procedure Return objects (formerly known as request and result), along with error objects. It also provides marshalling objects to convert the model objects into JSON text and HTTP requests/responses.
This module does not concern itself with the transport layer at all, so the JSON-RPC 1.1 and the alternative specification, which are very different on that level are implemented with the same class.
There are three methods to install libjson-rpc-common-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libjson-rpc-common-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libjson-rpc-common-perl
using apt-get
by running the following command:
sudo apt-get -y install libjson-rpc-common-perl
Install libjson-rpc-common-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjson-rpc-common-perl
using apt
by running the following command:
sudo apt -y install libjson-rpc-common-perl
Install libjson-rpc-common-perl 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 libjson-rpc-common-perl
using aptitude
by running the following command:
sudo aptitude -y install libjson-rpc-common-perl
How To Uninstall libjson-rpc-common-perl on Debian 11
To uninstall only the libjson-rpc-common-perl
package we can use the following command:
sudo apt-get remove libjson-rpc-common-perl
Uninstall libjson-rpc-common-perl And Its Dependencies
To uninstall libjson-rpc-common-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libjson-rpc-common-perl
Remove libjson-rpc-common-perl Configurations and Data
To remove libjson-rpc-common-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libjson-rpc-common-perl
Remove libjson-rpc-common-perl configuration, data, and all of its dependencies
We can use the following command to remove libjson-rpc-common-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjson-rpc-common-perl
Dependencies
libjson-rpc-common-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libjson-rpc-common-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.