How To Install busybox-initramfs on Ubuntu 20.04
Introduction
In this tutorial we learn how to install busybox-initramfs
on Ubuntu 20.04.
What is busybox-initramfs
busybox-initramfs is:
BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
busybox-initramfs provides a simple stand alone shell that provides only the basic utilities needed for the initramfs. 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: busybox-initramfs Architecture: amd64 Version: 1:1.30.1-4ubuntu6.2 Priority: optional Section: shells Source: busybox Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Install System Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 368 Depends: libc6 (>= 2.28) Filename: pool/main/b/busybox/busybox-initramfs_1.30.1-4ubuntu6.2_amd64.deb Size: 168836 MD5sum: 1834f4add3b574c7c6c6e179b84f7dd4 SHA1: 66c1063c8d8730d11a4dc90c50c3ac039440061f SHA256: 37bc902be347ff299ed30abd86f757cf493a5bad7ee9ed2ac1ec89c5632db19e SHA512: 2b26da0ab7c5cb0e4355d91fbcb4c74eb14d1bc0dc46861da4347847076f74b20b7e06d9a2b0fef87b45034a5118ec5b813f44ac68a9fb75fc99f6b0fb84fb8f Homepage: http://www.busybox.net Description-en: Standalone shell setup for initramfs BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
busybox-initramfs provides a simple stand alone shell that provides only the basic utilities needed for the initramfs. 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: busybox-initramfs Architecture: amd64 Version: 1:1.30.1-4ubuntu6 Priority: optional Section: shells Source: busybox Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Install System Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 367 Depends: libc6 (>= 2.28) Filename: pool/main/b/busybox/busybox-initramfs_1.30.1-4ubuntu6_amd64.deb Size: 168636 MD5sum: fd17aa28030233c7e48cd486cb2ff7b5 SHA1: fd12f2a5dad8085514a51803ae7b33a670a7705c SHA256: e1a2efa685649919fb9c8ceff5a0d4aae57b5222c2892da59e76777c1b317a55 Homepage: http://www.busybox.net Description-en: Standalone shell setup for initramfs BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for the most common utilities you would usually find on your desktop system (i.e., ls, cp, mv, mount, tar, etc.). The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.
busybox-initramfs provides a simple stand alone shell that provides only the basic utilities needed for the initramfs. 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 busybox-initramfs
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 busybox-initramfs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install busybox-initramfs
using apt-get
by running the following command:
sudo apt-get -y install busybox-initramfs
Install busybox-initramfs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install busybox-initramfs
using apt
by running the following command:
sudo apt -y install busybox-initramfs
Install busybox-initramfs 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 busybox-initramfs
using aptitude
by running the following command:
sudo aptitude -y install busybox-initramfs
How To Uninstall busybox-initramfs on Ubuntu 20.04
To uninstall only the busybox-initramfs
package we can use the following command:
sudo apt-get remove busybox-initramfs
Uninstall busybox-initramfs And Its Dependencies
To uninstall busybox-initramfs
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove busybox-initramfs
Remove busybox-initramfs Configurations and Data
To remove busybox-initramfs
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge busybox-initramfs
Remove busybox-initramfs configuration, data, and all of its dependencies
We can use the following command to remove busybox-initramfs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge busybox-initramfs
References
Summary
In this tutorial we learn how to install busybox-initramfs
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.