How To Install initramfs-tools-core on Debian 10
Introduction
In this tutorial we learn how to install initramfs-tools-core
on Debian 10.
What is initramfs-tools-core
initramfs-tools-core is:
This package contains the mkinitramfs program that can be used to create a bootable initramfs for a Linux kernel. The initramfs should be loaded along with the kernel and is then responsible for mounting the root filesystem and starting the main init system.
There are three methods to install initramfs-tools-core
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install initramfs-tools-core Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install initramfs-tools-core
using apt-get
by running the following command:
Install initramfs-tools-core Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install initramfs-tools-core
using apt
by running the following command:
Install initramfs-tools-core 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.
After updating apt database, We can install initramfs-tools-core
using aptitude
by running the following command:
How To Uninstall initramfs-tools-core on Debian 10
To uninstall only the initramfs-tools-core
package we can use the following command:
Uninstall initramfs-tools-core And Its Dependencies
To uninstall initramfs-tools-core
and its dependencies that are no longer needed by Debian 10, we can use the command below:
Remove initramfs-tools-core Configurations and Data
To remove initramfs-tools-core
configuration and data from Debian 10 we can use the following command:
Remove initramfs-tools-core configuration, data, and all of its dependencies
We can use the following command to remove initramfs-tools-core
configurations, data and all of its dependencies, we can use the following command:
Dependencies
initramfs-tools-core have the following dependencies:
References
Summary
In this tutorial we learn how to install initramfs-tools-core
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.