How To Install debootstrap on AlmaLinux 8
Introduction
In this tutorial we learn how to install debootstrap
on AlmaLinux 8.
What is debootstrap
debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into. This might be often useful coupled with virtualization techniques to run Debian GNU/Linux guest system.
We can use yum
or dnf
to install debootstrap
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install debootstrap.
Install debootstrap on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install debootstrap
using dnf
by running the following command:
sudo dnf -y install debootstrap
Install debootstrap on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install debootstrap
using yum
by running the following command:
sudo yum -y install debootstrap
How To Uninstall debootstrap on AlmaLinux 8
To uninstall only the debootstrap
package we can use the following command:
sudo dnf remove debootstrap
References
Summary
In this tutorial we learn how to install debootstrap
on AlmaLinux 8 using yum and dnf.