How to Uninstall and Install mmdebstrap on Ubuntu 22.04

Updated: September 7, 2022

Downloads, unpacks and installs Debian packages to either directly create a directory which can be chrooted into, or a tarball of it. In contrast to debootstrap it uses apt, supports more than one mirror, automatically uses security and updates mirrors for Debian stable chroots, is 3-6 times faster, produces smaller output by removing unnecessary cruft, is bit-by-bit reproducible if $SOURCE_DATE_EPOCH is set, allows unprivileged operation using Linux user namespaces, fakechroot or proot and can setup foreign architecture chroots using qemu-user. I will show you how to install mmdebstrap on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: Ubuntu 22.04 is needed for mmdebstrap to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install mmdebstrap on Ubuntu 22.04

Install mmdebstrap Ubuntu 22.04

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

Install mmdebstrap using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to get mmdebstrap on your Ubuntu 22.04.

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 update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install mmdebstrap Ubuntu by executing this command in the terminal.

sudo apt -y install mmdebstrap

Install mmdebstrap using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install mmdebstrap, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install mmdebstrap Ubuntu by executing this command in the terminal.

sudo aptitude install mmdebstrap

Uninstall mmdebstrap on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a mmdebstrap, can be easily uninstalled by anyone.

If you installed mmdebstrap using APT or Aptitude, you could uninstall mmdebstrap on Ubuntu by following this step:

sudo apt remove --auto-remove mmdebstrap

If you want to uninstall mmdebstrap and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge mmdebstrap

Summary

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