How To Install initramfs-tools-bin on Ubuntu 20.04

In this tutorial we learn how to install initramfs-tools-bin on Ubuntu 20.04. initramfs-tools-bin is binaries used by initramfs-tools binaries used by initramfs-tools binaries used by initramfs-tools

Introduction

In this tutorial we learn how to install initramfs-tools-bin on Ubuntu 20.04.

What is initramfs-tools-bin

initramfs-tools-bin is:

This package contains binaries used inside the initramfs images generated by initramfs-tools. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-live, kubuntu-desktop, kubuntu-full, kubuntu-live, xubuntu-desktop, xubuntu-live, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-dvd-live, ubuntukylin-desktop, ubuntukylin-live, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-live, ubuntu-budgie-desktop, ubuntu-budgie-live

Package: initramfs-tools-bin Status: install ok installed Priority: optional Section: utils Installed-Size: 132 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Source: initramfs-tools Version: 0.136ubuntu6.3 Depends: libc6 (>= 2.4), libudev1 (>= 183) Description-en: binaries used by initramfs-tools This package contains binaries used inside the initramfs images generated by initramfs-tools. Original-Maintainer: Debian kernel team [email protected]

Package: initramfs-tools-bin Architecture: amd64 Version: 0.136ubuntu6 Priority: optional Section: utils Source: initramfs-tools Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian kernel team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 131 Depends: libc6 (>= 2.4), libudev1 (>= 183) Filename: pool/main/i/initramfs-tools/initramfs-tools-bin_0.136ubuntu6_amd64.deb Size: 14280 MD5sum: 8fafe65c0ae8162ac616db6c0565886e SHA1: fec2c5322ee703d9b02008f19f61d24abca1ade1 SHA256: c089af65b65ff3b50b4fff42db9ca73c43fcac0da28ebac3a9d65845b9e35219 Description-en: binaries used by initramfs-tools This package contains binaries used inside the initramfs images generated by initramfs-tools. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-live, kubuntu-desktop, kubuntu-full, kubuntu-live, xubuntu-desktop, xubuntu-live, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-dvd-live, ubuntukylin-desktop, ubuntukylin-live, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-live, ubuntu-budgie-desktop, ubuntu-budgie-live

There are three methods to install initramfs-tools-bin on Ubuntu 20.04. 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-bin Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install initramfs-tools-bin using apt-get by running the following command:

sudo apt-get -y install initramfs-tools-bin

Install initramfs-tools-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install initramfs-tools-bin using apt by running the following command:

sudo apt -y install initramfs-tools-bin

Install initramfs-tools-bin 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install initramfs-tools-bin using aptitude by running the following command:

sudo aptitude -y install initramfs-tools-bin

How To Uninstall initramfs-tools-bin on Ubuntu 20.04

To uninstall only the initramfs-tools-bin package we can use the following command:

sudo apt-get remove initramfs-tools-bin

Uninstall initramfs-tools-bin And Its Dependencies

To uninstall initramfs-tools-bin and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove initramfs-tools-bin

Remove initramfs-tools-bin Configurations and Data

To remove initramfs-tools-bin configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge initramfs-tools-bin

Remove initramfs-tools-bin configuration, data, and all of its dependencies

We can use the following command to remove initramfs-tools-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge initramfs-tools-bin

References

Summary

In this tutorial we learn how to install initramfs-tools-bin package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.