How To Install libjira-rest-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libjira-rest-perl
on Ubuntu 20.04.
What is libjira-rest-perl
libjira-rest-perl is:
The JIRA::REST module implements thin wrappers around Jira’s REST APIs:
- Jira Core REST API: https://docs.atlassian.com/jira/REST/server/
- Jira Service Desk REST API: https://docs.atlassian.com/jira-servicedesk/REST/server/
- Jira Software REST API: https://docs.atlassian.com/jira-software/REST/server/
The Jira REST API supersedes the old SOAP API, for which there is another Perl module called JIRA::Client.
Jira http://www.atlassian.com/software/jira is a proprietary bug tracking system from Atlassian http://www.atlassian.com/software/jira/.
There are three methods to install libjira-rest-perl
on Ubuntu 20.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 libjira-rest-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 libjira-rest-perl
using apt-get
by running the following command:
sudo apt-get -y install libjira-rest-perl
Install libjira-rest-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjira-rest-perl
using apt
by running the following command:
sudo apt -y install libjira-rest-perl
Install libjira-rest-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 libjira-rest-perl
using aptitude
by running the following command:
sudo aptitude -y install libjira-rest-perl
How To Uninstall libjira-rest-perl on Ubuntu 20.04
To uninstall only the libjira-rest-perl
package we can use the following command:
sudo apt-get remove libjira-rest-perl
Uninstall libjira-rest-perl And Its Dependencies
To uninstall libjira-rest-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libjira-rest-perl
Remove libjira-rest-perl Configurations and Data
To remove libjira-rest-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libjira-rest-perl
Remove libjira-rest-perl configuration, data, and all of its dependencies
We can use the following command to remove libjira-rest-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjira-rest-perl
References
Summary
In this tutorial we learn how to install libjira-rest-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.