How to Uninstall or Install busybox Ubuntu 22.04

Updated: September 2, 2022

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. In this guide, I will show you ways to install busybox Ubuntu 22.04.

Requirements

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install busybox on Ubuntu 22.04

Install busybox Ubuntu 22.04

busybox is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install busybox using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install busybox on your Ubuntu 22.04.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install busybox Ubuntu by executing this command in the terminal.

sudo apt -y install busybox

Install busybox using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt install aptitude

Then, you can now install busybox by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. You can now install busybox Ubuntu by executing this command in the terminal.

sudo aptitude install busybox

Uninstall busybox on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just busybox.

If you installed busybox using APT or Aptitude, you could uninstall busybox on Ubuntu by executing this command

sudo apt remove --auto-remove busybox

You can also execute this command if you want to uninstall busybox and remove its data and dependencies:

sudo apt autoremove --purge busybox

Conclusion

In this guide, I showed you ways to install busybox on Ubuntu 22.04 and ways to uninstall busybox too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.