How To Install python-docker-tests on AlmaLinux 8

In this tutorial we learn how to install python-docker-tests in AlmaLinux 8. python-docker-tests is Unit tests and integration tests for python-docker

Introduction

In this tutorial we learn how to install python-docker-tests on AlmaLinux 8.

What is python-docker-tests

Upstream test-suite (unit, integration) packaged as RPM.

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

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

sudo dnf -y install python-docker-tests

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

sudo yum -y install python-docker-tests

How To Uninstall python-docker-tests on AlmaLinux 8

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

sudo dnf remove python-docker-tests

References

Summary

In this tutorial we learn how to install python-docker-tests on AlmaLinux 8 using yum and dnf.