How To Install liburi-perl on Kali Linux

In this tutorial we learn how to install liburi-perl on Kali Linux. liburi-perl is module to manipulate and access URI strings

Introduction

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

What is liburi-perl

liburi-perl is:

URI is a collection of Perl modules that represent and manipulate Uniform Resource Identifier (URI) references as specified in RFC 2396.

URI objects can be used to access and manipulate the various components that make up these strings. There are also methods to combine URIs in various ways.

The URI class replaces the URI::URL class that used to be distributed with libwww-perl. This package also includes an emulation of the old URI::URL interface, which implements both the old and the new interface.

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

sudo apt-get -y install liburi-perl

Install liburi-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liburi-perl

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

sudo aptitude -y install liburi-perl

How To Uninstall liburi-perl on Kali Linux

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

sudo apt-get remove liburi-perl

Uninstall liburi-perl And Its Dependencies

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

sudo apt-get -y autoremove liburi-perl

Remove liburi-perl Configurations and Data

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

sudo apt-get -y purge liburi-perl

Remove liburi-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liburi-perl

Dependencies

liburi-perl have the following dependencies:

References

Summary

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