How To Install perl-cross-debian on Kali Linux
Introduction
In this tutorial we learn how to install perl-cross-debian on Kali Linux.
What is perl-cross-debian
perl-cross-debian is:
This package provides the configuration values for selected versions of perl. Each set is compatible with the Debian configuration of that version of perl, to circumvent the use of compiled test binaries which will fail during a cross-build.
Also provides a helper script to push the relevant configuration files into the cross-build using support in debian/rules within perl.
There are three methods to install perl-cross-debian 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 perl-cross-debian Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install perl-cross-debian using apt-get by running the following command:
sudo apt-get -y install perl-cross-debianInstall perl-cross-debian Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install perl-cross-debian using apt by running the following command:
sudo apt -y install perl-cross-debianInstall perl-cross-debian 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 perl-cross-debian using aptitude by running the following command:
sudo aptitude -y install perl-cross-debianHow To Uninstall perl-cross-debian on Kali Linux
To uninstall only the perl-cross-debian package we can use the following command:
sudo apt-get remove perl-cross-debianUninstall perl-cross-debian And Its Dependencies
To uninstall perl-cross-debian and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove perl-cross-debianRemove perl-cross-debian Configurations and Data
To remove perl-cross-debian configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge perl-cross-debianRemove perl-cross-debian configuration, data, and all of its dependencies
We can use the following command to remove perl-cross-debian configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge perl-cross-debianDependencies
perl-cross-debian have the following dependencies:
References
Summary
In this tutorial we learn how to install perl-cross-debian package on Kali Linux using different package management tools: apt, apt-get and aptitude.