How To Install libsys-filesystem-perl on Kali Linux

In this tutorial we learn how to install libsys-filesystem-perl on Kali Linux. libsys-filesystem-perl is Perl module to retrieve list of filesystems and their properties

Introduction

In this tutorial we learn how to install libsys-filesystem-perl on Kali Linux.

What is libsys-filesystem-perl

libsys-filesystem-perl is:

Sys::Filesystem is intended to be a portable interface to list and query filesystem names and their properties. It hopes to provide a consistent API to list all, mounted, unmounted and special filesystems on a system, and query as many properties as possible with common aliases wherever possible.

There are three methods to install libsys-filesystem-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libsys-filesystem-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 libsys-filesystem-perl using apt-get by running the following command:

sudo apt-get -y install libsys-filesystem-perl

Install libsys-filesystem-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsys-filesystem-perl

Install libsys-filesystem-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libsys-filesystem-perl using aptitude by running the following command:

sudo aptitude -y install libsys-filesystem-perl

How To Uninstall libsys-filesystem-perl on Kali Linux

To uninstall only the libsys-filesystem-perl package we can use the following command:

sudo apt-get remove libsys-filesystem-perl

Uninstall libsys-filesystem-perl And Its Dependencies

To uninstall libsys-filesystem-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libsys-filesystem-perl

Remove libsys-filesystem-perl Configurations and Data

To remove libsys-filesystem-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libsys-filesystem-perl

Remove libsys-filesystem-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsys-filesystem-perl

Dependencies

libsys-filesystem-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libsys-filesystem-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.