How To Install python3-marshmallow on AlmaLinux 8

In this tutorial we learn how to install python3-marshmallow in AlmaLinux 8. python3-marshmallow is Documentation for python-marshmallow

Introduction

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

What is python3-marshmallow

Marshmallow is a framework-agnostic library for converting complex datatypes, such as objects, to and from primitive Python datatypes. Marshmallow schemas can be used to * Validate input data. * Deserialize input data to app-level objects. * Serialize app-level objects to primitive Python types. The serialized objects can then be rendered to standard formats such as JSON for use in an HTTP API. Python 3 version.

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

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

sudo dnf -y install python3-marshmallow

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

sudo yum -y install python3-marshmallow

How To Uninstall python3-marshmallow on AlmaLinux 8

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

sudo dnf remove python3-marshmallow

References

Summary

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