How To Install bubblewrap on AlmaLinux 8

In this tutorial we learn how to install bubblewrap in AlmaLinux 8. bubblewrap is Core execution tool for unprivileged containers

Introduction

In this tutorial we learn how to install bubblewrap on AlmaLinux 8.

What is bubblewrap

Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged containers that works as a setuid binary on kernels without user namespaces.

We can use yum or dnf to install bubblewrap on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install bubblewrap.

Install bubblewrap 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 bubblewrap using dnf by running the following command:

sudo dnf -y install bubblewrap

Install bubblewrap 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 bubblewrap using yum by running the following command:

sudo yum -y install bubblewrap

How To Uninstall bubblewrap on AlmaLinux 8

To uninstall only the bubblewrap package we can use the following command:

sudo dnf remove bubblewrap

References

Summary

In this tutorial we learn how to install bubblewrap on AlmaLinux 8 using yum and dnf.