How To Install corekeeper on Kali Linux
Introduction
In this tutorial we learn how to install corekeeper
on Kali Linux.
What is corekeeper
corekeeper enables core files, reports crashes to the sysadmin and deletes old core files after 7 days.
Core file dumping is enabled for all users, to restrict that, please remove or edit the config file at /etc/security/limits.d/corekeeper.conf
On Linux core files are written to private per-userid dirs in /var/crash. Linux 3.6 and earlier have an issue that means all core files are written to the directory for root. If your system is running Linux 3.6 or earlier and is single-user (or you don’t care about the privacy of core file names), you can avoid this issue by editing /etc/sysctl.d/corekeeper.conf.
On kFreeBSD files are written to /var/crash, kernel limitations prevent core files from being written to private per-userid dirs.
To fully remove this package it needs to be purged and the system rebooted.
There are three ways to install corekeeper
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 corekeeper Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install corekeeper
using apt-get
by running the following command:
sudo apt-get -y install corekeeper
Install corekeeper Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install corekeeper
using apt
by running the following command:
sudo apt -y install corekeeper
Install corekeeper Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install corekeeper
using aptitude
by running the following command:
sudo aptitude -y install corekeeper
How To Uninstall corekeeper on Kali Linux
To uninstall only the corekeeper
package we can use the following command:
sudo apt-get remove corekeeper
Uninstall corekeeper And Its Dependencies
To uninstall corekeeper
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove corekeeper
Remove corekeeper Configurations and Data
To remove corekeeper
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge corekeeper
Remove corekeeper configuration, data, and all of its dependencies
We can use the following command to remove corekeeper
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge corekeeper
References
Summary
In this tutorial we learn how to install corekeeper
using different package management tools like apt, apt-get and aptitude.