How To Install libclass-accessor-lvalue-perl on Ubuntu 20.04

In this tutorial we learn how to install libclass-accessor-lvalue-perl on Ubuntu 20.04. libclass-accessor-lvalue-perl is module to create Lvalue accessors

Introduction

In this tutorial we learn how to install libclass-accessor-lvalue-perl on Ubuntu 20.04.

What is libclass-accessor-lvalue-perl

libclass-accessor-lvalue-perl is:

Class::Accessor::Lvalue subclasses Class::Accessor in order to provide lvalue accessor makers.

There are three methods to install libclass-accessor-lvalue-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 libclass-accessor-lvalue-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 libclass-accessor-lvalue-perl using apt-get by running the following command:

sudo apt-get -y install libclass-accessor-lvalue-perl

Install libclass-accessor-lvalue-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libclass-accessor-lvalue-perl using apt by running the following command:

sudo apt -y install libclass-accessor-lvalue-perl

Install libclass-accessor-lvalue-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 libclass-accessor-lvalue-perl using aptitude by running the following command:

sudo aptitude -y install libclass-accessor-lvalue-perl

How To Uninstall libclass-accessor-lvalue-perl on Ubuntu 20.04

To uninstall only the libclass-accessor-lvalue-perl package we can use the following command:

sudo apt-get remove libclass-accessor-lvalue-perl

Uninstall libclass-accessor-lvalue-perl And Its Dependencies

To uninstall libclass-accessor-lvalue-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libclass-accessor-lvalue-perl

Remove libclass-accessor-lvalue-perl Configurations and Data

To remove libclass-accessor-lvalue-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libclass-accessor-lvalue-perl

Remove libclass-accessor-lvalue-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libclass-accessor-lvalue-perl

References

Summary

In this tutorial we learn how to install libclass-accessor-lvalue-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.