How To Install libfile-wildcard-perl on Kali Linux
Introduction
In this tutorial we learn how to install libfile-wildcard-perl on Kali Linux.
What is libfile-wildcard-perl
libfile-wildcard-perl is:
When looking at how various operating systems do filename wildcard expansion (globbing), VMS has a nice syntax which allows expansion and searching of whole directory trees. It would be nice if other operating systems had something like this built in. The best Unix can manage is through the utility program find.
File::Wildcard provides this facility to Perl. Whereas native VMS syntax uses the ellipsis “…”, this will not fit in with POSIX filenames, as … is a valid (though somewhat strange) filename. Instead, the construct “///” is used as this cannot syntactically be part of a filename, as you do not get three concurrent filename separators with nothing between (three slashes are used to avoid confusion with //node/path/name syntax).
You don’t have to use this syntax, as you can do the splitting yourself and pass in an arrayref as your path.
There are three methods to install libfile-wildcard-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 libfile-wildcard-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libfile-wildcard-perl using apt-get by running the following command:
sudo apt-get -y install libfile-wildcard-perlInstall libfile-wildcard-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libfile-wildcard-perl using apt by running the following command:
sudo apt -y install libfile-wildcard-perlInstall libfile-wildcard-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 libfile-wildcard-perl using aptitude by running the following command:
sudo aptitude -y install libfile-wildcard-perlHow To Uninstall libfile-wildcard-perl on Kali Linux
To uninstall only the libfile-wildcard-perl package we can use the following command:
sudo apt-get remove libfile-wildcard-perlUninstall libfile-wildcard-perl And Its Dependencies
To uninstall libfile-wildcard-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libfile-wildcard-perlRemove libfile-wildcard-perl Configurations and Data
To remove libfile-wildcard-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libfile-wildcard-perlRemove libfile-wildcard-perl configuration, data, and all of its dependencies
We can use the following command to remove libfile-wildcard-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfile-wildcard-perlDependencies
libfile-wildcard-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libfile-wildcard-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.