How To Install python3-tox on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install python3-tox on Rocky Linux 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 Rocky Linux 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 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 python3-tox using dnf by running the following command:

sudo dnf -y install python3-tox

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

sudo yum -y install python3-tox

How To Uninstall python3-tox on Rocky Linux 8

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

sudo dnf remove python3-tox

python3-tox Package Contents on Rocky Linux 8

/usr/bin/tox
/usr/bin/tox-quickstart
/usr/lib/python3.6/site-packages/tox
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/tox-3.4.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/tox/__init__.py
/usr/lib/python3.6/site-packages/tox/__main__.py
/usr/lib/python3.6/site-packages/tox/__pycache__
/usr/lib/python3.6/site-packages/tox/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/_pytestplugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/_pytestplugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/_quickstart.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/_quickstart.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/exception.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/exception.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/hookspecs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/hookspecs.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/interpreters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/interpreters.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/package.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/package.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/result.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/result.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/session.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/session.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/venv.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/venv.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/tox/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/tox/_pytestplugin.py
/usr/lib/python3.6/site-packages/tox/_quickstart.py
/usr/lib/python3.6/site-packages/tox/config.py
/usr/lib/python3.6/site-packages/tox/constants.py
/usr/lib/python3.6/site-packages/tox/exception.py
/usr/lib/python3.6/site-packages/tox/hookspecs.py
/usr/lib/python3.6/site-packages/tox/interpreters.py
/usr/lib/python3.6/site-packages/tox/package.py
/usr/lib/python3.6/site-packages/tox/result.py
/usr/lib/python3.6/site-packages/tox/session.py
/usr/lib/python3.6/site-packages/tox/util.py
/usr/lib/python3.6/site-packages/tox/venv.py
/usr/lib/python3.6/site-packages/tox/version.py

References

Summary

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