How To Install python3-pytest-remotedata on AlmaLinux 8

In this tutorial we learn how to install python3-pytest-remotedata in AlmaLinux 8. python3-pytest-remotedata is The py.test remotedata plugin

Introduction

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

What is python3-pytest-remotedata

This package provides a plugin for the pytest framework that allows developers to control unit tests that require access to data from the internet. Many software packages provide features that require access to data from the internet. These features need to be tested, but unit tests that access the internet can dominate the overall runtime of a test suite. The pytest-remotedata plugin allows developers to indicate which unit tests require access to the internet, and to control when and whether such tests should execute as part of any given run of the test suite.

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

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

sudo dnf -y install python3-pytest-remotedata

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

sudo yum -y install python3-pytest-remotedata

How To Uninstall python3-pytest-remotedata on AlmaLinux 8

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

sudo dnf remove python3-pytest-remotedata

References

Summary

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