How To Install python3-sybil on CentOS 8

In this tutorial we learn how to install python3-sybil on CentOS 8. python3-sybil is Automated testing for the examples in your documentation

Introduction

In this tutorial we learn how to install python3-sybil on CentOS 8.

What is python3-sybil

This library provides a way to test examples in your documentation by parsing them from the documentation source and evaluating the parsed examples as part of your normal test run. Integration is provided for the three main Python test runners.

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

Install python3-sybil on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install python3-sybil

Install python3-sybil on CentOS 8 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install python3-sybil

How To Uninstall python3-sybil on CentOS 8

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

sudo dnf remove python3-sybil

References

Summary

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