How To Install python-peak-rules on CentOS 7
Introduction
In this tutorial we learn how to install python-peak-rules
on CentOS 7.
What is python-peak-rules
PEAK-Rules is a highly-extensible framework for creating and using generic functions, from the very simple to the very complex. Out of the box, it supports multiple-dispatch on positional arguments using tuples of types, full predicate dispatch using strings containing Python expressions, and CLOS-like method combining. (But the framework allows you to mix and match dispatch engines and custom method combinations, if you need or want to.)
We can use yum
or dnf
to install python-peak-rules
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-peak-rules.
Install python-peak-rules on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-peak-rules
using yum
by running the following command:
Install python-peak-rules 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-peak-rules
using dnf
by running the following command:
How To Uninstall python-peak-rules on CentOS 7
To uninstall only the python-peak-rules
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-peak-rules
on CentOS 7 using yum
and dnf
.