How To Install liburl-search-perl on Kali Linux
Introduction
In this tutorial we learn how to install liburl-search-perl
on Kali Linux.
What is liburl-search-perl
liburl-search-perl is:
URL::Search searches plain text for URLs and extracts them. It exports (on request) the following entities:
$URL_SEARCH_RE: This variable is the core of this module. It contains a regex that matches a URL.
extract_urls: This function takes a string and returns a list of all contained URLs.
partition_urls: This function takes a string and splits it up into text and URL segments.
There are three methods to install liburl-search-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 liburl-search-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 liburl-search-perl
using apt-get
by running the following command:
sudo apt-get -y install liburl-search-perl
Install liburl-search-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liburl-search-perl
using apt
by running the following command:
sudo apt -y install liburl-search-perl
Install liburl-search-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 liburl-search-perl
using aptitude
by running the following command:
sudo aptitude -y install liburl-search-perl
How To Uninstall liburl-search-perl on Kali Linux
To uninstall only the liburl-search-perl
package we can use the following command:
sudo apt-get remove liburl-search-perl
Uninstall liburl-search-perl And Its Dependencies
To uninstall liburl-search-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove liburl-search-perl
Remove liburl-search-perl Configurations and Data
To remove liburl-search-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge liburl-search-perl
Remove liburl-search-perl configuration, data, and all of its dependencies
We can use the following command to remove liburl-search-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liburl-search-perl
Dependencies
liburl-search-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install liburl-search-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.