How To Install libpath-class-file-stat-perl on Ubuntu 20.04

In this tutorial we learn how to install libpath-class-file-stat-perl on Ubuntu 20.04. libpath-class-file-stat-perl is cache of stat calls for a Path

Introduction

In this tutorial we learn how to install libpath-class-file-stat-perl on Ubuntu 20.04.

What is libpath-class-file-stat-perl

libpath-class-file-stat-perl is:

Path::Class::File::Stat perl module is an extension of Path::Class::File. Path::Class::File::Stat is useful in long-running programs (as under mod_perl) where you might have a file handle opened and want to check if the underlying file has changed.

There are three methods to install libpath-class-file-stat-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 libpath-class-file-stat-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 libpath-class-file-stat-perl using apt-get by running the following command:

sudo apt-get -y install libpath-class-file-stat-perl

Install libpath-class-file-stat-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpath-class-file-stat-perl using apt by running the following command:

sudo apt -y install libpath-class-file-stat-perl

Install libpath-class-file-stat-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 libpath-class-file-stat-perl using aptitude by running the following command:

sudo aptitude -y install libpath-class-file-stat-perl

How To Uninstall libpath-class-file-stat-perl on Ubuntu 20.04

To uninstall only the libpath-class-file-stat-perl package we can use the following command:

sudo apt-get remove libpath-class-file-stat-perl

Uninstall libpath-class-file-stat-perl And Its Dependencies

To uninstall libpath-class-file-stat-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libpath-class-file-stat-perl

Remove libpath-class-file-stat-perl Configurations and Data

To remove libpath-class-file-stat-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libpath-class-file-stat-perl

Remove libpath-class-file-stat-perl configuration, data, and all of its dependencies

We can use the following command to remove libpath-class-file-stat-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpath-class-file-stat-perl

References

Summary

In this tutorial we learn how to install libpath-class-file-stat-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.