How To Install liblog-fast-perl on Kali Linux
Introduction
In this tutorial we learn how to install liblog-fast-perl on Kali Linux.
What is liblog-fast-perl
liblog-fast-perl is:
Log::Fast is very fast logger, designed for use in applications with thousands high-level events/operations per second (like network servers with thousands clients or web spiders which download hundreds url per second).
For example, on Core2Duo sending about 5000 messages to log on enabled log levels or 20000 messages on disabled log levels in one second will slow down your application only by 2-3%.
Comparing to some other CPAN modules, this one (in average): faster than Log::Dispatch in about 45 times, faster than Log::Handler in about 15 times, faster than Sys::Syslog in about 7 times, and slower than Log::Syslog::Fast in about 2 times.
Features:
- Global and local logger objects
- Output to any open filehandle or local syslog
- 5 log levels: ERR, WARN, NOTICE, INFO, DEBUG
- Configurable prefix (log level, date/time, caller function name)
- sprintf() support
- Unicode support (UTF8)
- Can avoid calculating log message content on disabled log levels
There are three methods to install liblog-fast-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 liblog-fast-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install liblog-fast-perl using apt-get by running the following command:
sudo apt-get -y install liblog-fast-perlInstall liblog-fast-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install liblog-fast-perl using apt by running the following command:
sudo apt -y install liblog-fast-perlInstall liblog-fast-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 liblog-fast-perl using aptitude by running the following command:
sudo aptitude -y install liblog-fast-perlHow To Uninstall liblog-fast-perl on Kali Linux
To uninstall only the liblog-fast-perl package we can use the following command:
sudo apt-get remove liblog-fast-perlUninstall liblog-fast-perl And Its Dependencies
To uninstall liblog-fast-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove liblog-fast-perlRemove liblog-fast-perl Configurations and Data
To remove liblog-fast-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge liblog-fast-perlRemove liblog-fast-perl configuration, data, and all of its dependencies
We can use the following command to remove liblog-fast-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblog-fast-perlDependencies
liblog-fast-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install liblog-fast-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.