How To Install console-log on Kali Linux
Introduction
In this tutorial we learn how to install console-log on Kali Linux.
What is console-log
console-log is:
console-log keeps logfile pagers open on virtual consoles. The default configuration puts exim’s mainlog on tty8, and the syslog on tty9, in a less process. It can also make sure that this console is visible automatically after system boot so that a crashed system at least leaves the syslog readable on the console before reset. Using a pager makes searching, tagging and highlighting possible.
There are three methods to install console-log 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 console-log Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install console-log using apt-get by running the following command:
sudo apt-get -y install console-logInstall console-log Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install console-log using apt by running the following command:
sudo apt -y install console-logInstall console-log 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 console-log using aptitude by running the following command:
sudo aptitude -y install console-logHow To Uninstall console-log on Kali Linux
To uninstall only the console-log package we can use the following command:
sudo apt-get remove console-logUninstall console-log And Its Dependencies
To uninstall console-log and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove console-logRemove console-log Configurations and Data
To remove console-log configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge console-logRemove console-log configuration, data, and all of its dependencies
We can use the following command to remove console-log configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge console-logDependencies
console-log have the following dependencies:
References
Summary
In this tutorial we learn how to install console-log package on Kali Linux using different package management tools: apt, apt-get and aptitude.