How To Install libraritan-rpc-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libraritan-rpc-perl
on Ubuntu 22.04.
What is libraritan-rpc-perl
libraritan-rpc-perl is:
Raritan::RPC and the other modules in this package provide the Perl bindings for interacting with the JSON-RPC interface of Raritan PDU product series PX2, PX3, BCM and EMX.
There are three methods to install libraritan-rpc-perl
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libraritan-rpc-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 libraritan-rpc-perl
using apt-get
by running the following command:
sudo apt-get -y install libraritan-rpc-perl
Install libraritan-rpc-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libraritan-rpc-perl
using apt
by running the following command:
sudo apt -y install libraritan-rpc-perl
Install libraritan-rpc-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libraritan-rpc-perl
using aptitude
by running the following command:
sudo aptitude -y install libraritan-rpc-perl
How To Uninstall libraritan-rpc-perl on Ubuntu 22.04
To uninstall only the libraritan-rpc-perl
package we can use the following command:
sudo apt-get remove libraritan-rpc-perl
Uninstall libraritan-rpc-perl And Its Dependencies
To uninstall libraritan-rpc-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libraritan-rpc-perl
Remove libraritan-rpc-perl Configurations and Data
To remove libraritan-rpc-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libraritan-rpc-perl
Remove libraritan-rpc-perl configuration, data, and all of its dependencies
We can use the following command to remove libraritan-rpc-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libraritan-rpc-perl
References
Summary
In this tutorial we learn how to install libraritan-rpc-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.