How To Install libsoftware-release-perl on Ubuntu 18.04

In this tutorial we learn how to install libsoftware-release-perl on Ubuntu 18.04. libsoftware-release-perl is Perl class representing a release of software

Introduction

In this tutorial we learn how to install libsoftware-release-perl on Ubuntu 18.04.

What is libsoftware-release-perl

libsoftware-release-perl is:

Software::Release is a purely informational collection of objects that you can use to represent a release of software. Its original use-case was to provide a contract between a git log parser and a formatter class that outputs a changelog, but it may be useful to others to create bug trackers, dashboards or whathaveyour.

There are three methods to install libsoftware-release-perl on Ubuntu 18.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 libsoftware-release-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 libsoftware-release-perl using apt-get by running the following command:

sudo apt-get -y install libsoftware-release-perl

Install libsoftware-release-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsoftware-release-perl using apt by running the following command:

sudo apt -y install libsoftware-release-perl

Install libsoftware-release-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 libsoftware-release-perl using aptitude by running the following command:

sudo aptitude -y install libsoftware-release-perl

How To Uninstall libsoftware-release-perl on Ubuntu 18.04

To uninstall only the libsoftware-release-perl package we can use the following command:

sudo apt-get remove libsoftware-release-perl

Uninstall libsoftware-release-perl And Its Dependencies

To uninstall libsoftware-release-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libsoftware-release-perl

Remove libsoftware-release-perl Configurations and Data

To remove libsoftware-release-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsoftware-release-perl

Remove libsoftware-release-perl configuration, data, and all of its dependencies

We can use the following command to remove libsoftware-release-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsoftware-release-perl

References

Summary

In this tutorial we learn how to install libsoftware-release-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.