How To Install libpath-tiny-perl on Kali Linux

In this tutorial we learn how to install libpath-tiny-perl on Kali Linux. libpath-tiny-perl is file path utility

Introduction

In this tutorial we learn how to install libpath-tiny-perl on Kali Linux.

What is libpath-tiny-perl

libpath-tiny-perl is:

Path::Tiny attempts to provide a small, fast utility for working with file paths. It is friendlier to use than File::Spec and provides easy access to functions from several other core file handling modules.

It doesn’t attempt to be as full-featured as IO::All or Path::Class, nor does it try to work for anything except Unix-like and Win32 platforms. Even then, it might break if you try something particularly obscure or tortuous. (Quick! What does this mean: “///../../..//./././a//b/.././c/././”? And how does it differ on Win32?)

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

sudo apt-get -y install libpath-tiny-perl

Install libpath-tiny-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpath-tiny-perl

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

sudo aptitude -y install libpath-tiny-perl

How To Uninstall libpath-tiny-perl on Kali Linux

To uninstall only the libpath-tiny-perl package we can use the following command:

sudo apt-get remove libpath-tiny-perl

Uninstall libpath-tiny-perl And Its Dependencies

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

sudo apt-get -y autoremove libpath-tiny-perl

Remove libpath-tiny-perl Configurations and Data

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

sudo apt-get -y purge libpath-tiny-perl

Remove libpath-tiny-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpath-tiny-perl

Dependencies

libpath-tiny-perl have the following dependencies:

References

Summary

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