How To Install python-parse_type on CentOS 7
Introduction
In this tutorial we learn how to install python-parse_type
on CentOS 7.
What is python-parse_type
parse_type
_ extends theparse
_ module (opposite ofstring.format()
_) with the following features * build type converters for common use cases (enum/mapping, choice) * build a type converter with a cardinality constraint (0..1, 0.., 1..) from the type converter with cardinality=1. * compose a type converter from other type converters * an extended parser that supports the CardinalityField naming schema and creates missing type variants (0..1, 0.., 1..) from the primary type converter
We can use yum
or dnf
to install python-parse_type
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-parse_type.
Install python-parse_type on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-parse_type
using yum
by running the following command:
Install python-parse_type 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-parse_type
using dnf
by running the following command:
How To Uninstall python-parse_type on CentOS 7
To uninstall only the python-parse_type
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-parse_type
on CentOS 7 using yum
and dnf
.