How To Install corekeeper on Debian 11
Introduction
In this tutorial we learn how to install corekeeper
on Debian 11.
What is corekeeper
corekeeper is:
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 methods to install corekeeper
on Debian 11. 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 Debian. 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 Debian 11
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 Debian 11, we can use the command below:
sudo apt-get -y autoremove corekeeper
Remove corekeeper Configurations and Data
To remove corekeeper
configuration and data from Debian 11 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
Dependencies
corekeeper have the following dependencies:
References
Summary
In this tutorial we learn how to install corekeeper
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.