How To Install libtry-tiny-perl on Kali Linux
Introduction
In this tutorial we learn how to install libtry-tiny-perl on Kali Linux.
What is libtry-tiny-perl
libtry-tiny-perl is:
Try::Tiny is a Perl module that provides bare bones try/catch statements. It is designed to eliminate common mistakes with eval blocks, and NOTHING else.
The main focus of this module is to provide simple and reliable error handling for those having a hard time installing TryCatch, but who still want to write correct eval blocks without 5 lines of boilerplate each time.
There are three methods to install libtry-tiny-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 libtry-tiny-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libtry-tiny-perl using apt-get by running the following command:
sudo apt-get -y install libtry-tiny-perlInstall libtry-tiny-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libtry-tiny-perl using apt by running the following command:
sudo apt -y install libtry-tiny-perlInstall libtry-tiny-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 libtry-tiny-perl using aptitude by running the following command:
sudo aptitude -y install libtry-tiny-perlHow To Uninstall libtry-tiny-perl on Kali Linux
To uninstall only the libtry-tiny-perl package we can use the following command:
sudo apt-get remove libtry-tiny-perlUninstall libtry-tiny-perl And Its Dependencies
To uninstall libtry-tiny-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtry-tiny-perlRemove libtry-tiny-perl Configurations and Data
To remove libtry-tiny-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtry-tiny-perlRemove libtry-tiny-perl configuration, data, and all of its dependencies
We can use the following command to remove libtry-tiny-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtry-tiny-perlDependencies
libtry-tiny-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtry-tiny-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.