How To Install python3-tox on AlmaLinux 8

In this tutorial we learn how to install python3-tox in AlmaLinux 8. python3-tox is Virtualenv-based automation of test activities

Introduction

In this tutorial we learn how to install python3-tox on AlmaLinux 8.

What is python3-tox

Tox as is a generic virtualenv management and test command line tool you can use for - checking your package installs correctly with different Python versions and interpreters - running your tests in each of the environments, configuring your test tool of choice - acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

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

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

sudo dnf -y install python3-tox

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

sudo yum -y install python3-tox

How To Uninstall python3-tox on AlmaLinux 8

To uninstall only the python3-tox package we can use the following command:

sudo dnf remove python3-tox

References

Summary

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