How To Install toolbox on Rocky Linux 8

In this tutorial we learn how to install toolbox on Rocky Linux 8. toolbox is Script to launch privileged container with podman

Introduction

In this tutorial we learn how to install toolbox on Rocky Linux 8.

What is toolbox

toolbox is a small script that launches a container to let you bring in your favorite debugging or admin tools.

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

Install toolbox on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install toolbox using dnf by running the following command:

sudo dnf -y install toolbox

Install toolbox on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install toolbox using yum by running the following command:

sudo yum -y install toolbox

How To Uninstall toolbox on Rocky Linux 8

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

sudo dnf remove toolbox

toolbox Package Contents on Rocky Linux 8

/usr/bin/toolbox
/usr/share/doc/toolbox
/usr/share/doc/toolbox/NOTICE
/usr/share/doc/toolbox/README.md
/usr/share/licenses/toolbox
/usr/share/licenses/toolbox/LICENSE

References

Summary

In this tutorial we learn how to install toolbox on Rocky Linux 8 using yum and dnf.