How To Install libcoro-perl on Kali Linux
Introduction
In this tutorial we learn how to install libcoro-perl on Kali Linux.
What is libcoro-perl
libcoro-perl is:
Coro is a collection of modules which manages continuations in general, most often in the form of cooperative threads (also called coros, or simply “coro” in the documentation). They do not actually execute at the same time, even on machines with multiple processors.
The specific flavor of thread offered by this module also guarantees you that it will not switch between threads unless necessary. It switches at easily- identified points in your program, so locking and parallel access are rarely an issue, making threaded programming much safer and easier than using other threading models.
Coro provides a full shared address space, which makes communication between threads very easy. A parallel matrix multiplication benchmark runs over 300 times faster on a single core than perl’s ithreads on a quad core using all four cores.
This version of Coro has been patched by the Debian Project to provide compatibility with Perl 5.22 and Perl 5.24. Please send bug reports to Debian (https://www.debian.org/Bugs/) and not the original author.
There are three methods to install libcoro-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 libcoro-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcoro-perl using apt-get by running the following command:
sudo apt-get -y install libcoro-perlInstall libcoro-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcoro-perl using apt by running the following command:
sudo apt -y install libcoro-perlInstall libcoro-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 libcoro-perl using aptitude by running the following command:
sudo aptitude -y install libcoro-perlHow To Uninstall libcoro-perl on Kali Linux
To uninstall only the libcoro-perl package we can use the following command:
sudo apt-get remove libcoro-perlUninstall libcoro-perl And Its Dependencies
To uninstall libcoro-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcoro-perlRemove libcoro-perl Configurations and Data
To remove libcoro-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcoro-perlRemove libcoro-perl configuration, data, and all of its dependencies
We can use the following command to remove libcoro-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcoro-perlDependencies
libcoro-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libcoro-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.