How To Install python3-formencode on AlmaLinux 8

In this tutorial we learn how to install python3-formencode in AlmaLinux 8. python3-formencode is HTML form validation, generation, and convertion package

Introduction

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

What is python3-formencode

FormEncode validates and converts nested structures. It allows for a declarative form of defining the validation, and decoupled processes for filling and generating forms. This package contains the python3 version of the module.

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

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

sudo dnf -y install python3-formencode

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

sudo yum -y install python3-formencode

How To Uninstall python3-formencode on AlmaLinux 8

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

sudo dnf remove python3-formencode

References

Summary

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