How To Install toolbox-tests on Fedora 36

In this tutorial we learn how to install toolbox-tests in Fedora 36. toolbox-tests is Tests for toolbox

Introduction

In this tutorial we learn how to install toolbox-tests on Fedora 36.

What is toolbox-tests

The toolbox-tests package contains system tests for toolbox.

We can use yum or dnf to install toolbox-tests on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install toolbox-tests.

Install toolbox-tests on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install toolbox-tests

Install toolbox-tests on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install toolbox-tests

How To Uninstall toolbox-tests on Fedora 36

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

sudo dnf remove toolbox-tests

toolbox-tests Package Contents on Fedora 36

/usr/share/toolbox
/usr/share/toolbox/test
/usr/share/toolbox/test/system
/usr/share/toolbox/test/system/000-setup.bats
/usr/share/toolbox/test/system/001-version.bats
/usr/share/toolbox/test/system/002-help.bats
/usr/share/toolbox/test/system/101-create.bats
/usr/share/toolbox/test/system/102-list.bats
/usr/share/toolbox/test/system/103-container.bats
/usr/share/toolbox/test/system/104-run.bats
/usr/share/toolbox/test/system/105-enter.bats
/usr/share/toolbox/test/system/106-rm.bats
/usr/share/toolbox/test/system/107-rmi.bats
/usr/share/toolbox/test/system/999-teardown.bats
/usr/share/toolbox/test/system/README.md
/usr/share/toolbox/test/system/libs
/usr/share/toolbox/test/system/libs/.helpers.bash.swp
/usr/share/toolbox/test/system/libs/bats-assert
/usr/share/toolbox/test/system/libs/bats-assert/CHANGELOG.md
/usr/share/toolbox/test/system/libs/bats-assert/LICENSE
/usr/share/toolbox/test/system/libs/bats-assert/README.md
/usr/share/toolbox/test/system/libs/bats-assert/load.bash
/usr/share/toolbox/test/system/libs/bats-assert/src
/usr/share/toolbox/test/system/libs/bats-assert/src/assert.bash
/usr/share/toolbox/test/system/libs/bats-support
/usr/share/toolbox/test/system/libs/bats-support/CHANGELOG.md
/usr/share/toolbox/test/system/libs/bats-support/LICENSE
/usr/share/toolbox/test/system/libs/bats-support/README.md
/usr/share/toolbox/test/system/libs/bats-support/load.bash
/usr/share/toolbox/test/system/libs/bats-support/src
/usr/share/toolbox/test/system/libs/bats-support/src/error.bash
/usr/share/toolbox/test/system/libs/bats-support/src/lang.bash
/usr/share/toolbox/test/system/libs/bats-support/src/output.bash
/usr/share/toolbox/test/system/libs/helpers.bash

References

Summary

In this tutorial we learn how to install toolbox-tests on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).