How To Install libhook-wrapsub-perl on Kali Linux
Introduction
In this tutorial we learn how to install libhook-wrapsub-perl on Kali Linux.
What is libhook-wrapsub-perl
libhook-wrapsub-perl is:
Hook::WrapSub lets you wrap a function, providing one or both of functions that are called just before and just after, whenever the wrapped function is called.
The wrap_subs() function enables intercepting a call to any named function; handlers may be added both before and after the call to the intercepted function.
There are three methods to install libhook-wrapsub-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 libhook-wrapsub-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libhook-wrapsub-perl using apt-get by running the following command:
sudo apt-get -y install libhook-wrapsub-perlInstall libhook-wrapsub-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libhook-wrapsub-perl using apt by running the following command:
sudo apt -y install libhook-wrapsub-perlInstall libhook-wrapsub-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 updateAfter updating apt database, We can install libhook-wrapsub-perl using aptitude by running the following command:
sudo aptitude -y install libhook-wrapsub-perlHow To Uninstall libhook-wrapsub-perl on Kali Linux
To uninstall only the libhook-wrapsub-perl package we can use the following command:
sudo apt-get remove libhook-wrapsub-perlUninstall libhook-wrapsub-perl And Its Dependencies
To uninstall libhook-wrapsub-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libhook-wrapsub-perlRemove libhook-wrapsub-perl Configurations and Data
To remove libhook-wrapsub-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libhook-wrapsub-perlRemove libhook-wrapsub-perl configuration, data, and all of its dependencies
We can use the following command to remove libhook-wrapsub-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhook-wrapsub-perlDependencies
libhook-wrapsub-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libhook-wrapsub-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.