How To Install libregexp-pattern-license-perl on Kali Linux

In this tutorial we learn how to install libregexp-pattern-license-perl on Kali Linux. libregexp-pattern-license-perl is regular expressions for legal licenses

Introduction

In this tutorial we learn how to install libregexp-pattern-license-perl on Kali Linux.

What is libregexp-pattern-license-perl

libregexp-pattern-license-perl is:

Regexp::Pattern::License provides a hash of regular expression patterns related to legal software licenses.

Regexp::Pattern is a convention for organizing reusable regex patterns.

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

sudo apt-get -y install libregexp-pattern-license-perl

Install libregexp-pattern-license-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libregexp-pattern-license-perl

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

sudo aptitude -y install libregexp-pattern-license-perl

How To Uninstall libregexp-pattern-license-perl on Kali Linux

To uninstall only the libregexp-pattern-license-perl package we can use the following command:

sudo apt-get remove libregexp-pattern-license-perl

Uninstall libregexp-pattern-license-perl And Its Dependencies

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

sudo apt-get -y autoremove libregexp-pattern-license-perl

Remove libregexp-pattern-license-perl Configurations and Data

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

sudo apt-get -y purge libregexp-pattern-license-perl

Remove libregexp-pattern-license-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libregexp-pattern-license-perl

Dependencies

libregexp-pattern-license-perl have the following dependencies:

References

Summary

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