How To Install python-marshmallow on CentOS 7
Introduction
In this tutorial we learn how to install python-marshmallow
on CentOS 7.
What is python-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.
We can use yum
or dnf
to install python-marshmallow
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-marshmallow.
Install python-marshmallow on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-marshmallow
using yum
by running the following command:
Install python-marshmallow on CentOS 7 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.
After updating yum database, We can install python-marshmallow
using dnf
by running the following command:
How To Uninstall python-marshmallow on CentOS 7
To uninstall only the python-marshmallow
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-marshmallow
on CentOS 7 using yum
and dnf
.