How To Install python-peak-util-addons on CentOS 7

In this tutorial we learn how to install python-peak-util-addons on CentOS 7. python-peak-util-addons is Dynamically extend other objects with AddOns

Introduction

In this tutorial we learn how to install python-peak-util-addons on CentOS 7.

What is python-peak-util-addons

In any sufficiently-sized application or framework, it’s common to end up lumping a lot of different concerns into the same class. For example, you may have business logic, persistence code, and UI all jammed into a single class. Attribute and method names for all sorts of different operations get shoved into a single namespace – even when using mixin classes. Separating concerns into different objects, however, makes it easier to write reusable and separately-testable components. The AddOns package (peak.util.addons) lets you manage concerns using AddOn classes.

We can use yum or dnf to install python-peak-util-addons on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-peak-util-addons.

Install python-peak-util-addons on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-peak-util-addons using yum by running the following command:

sudo yum -y install python-peak-util-addons

Install python-peak-util-addons 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.

sudo dnf makecache

After updating yum database, We can install python-peak-util-addons using dnf by running the following command:

sudo dnf -y install python-peak-util-addons

How To Uninstall python-peak-util-addons on CentOS 7

To uninstall only the python-peak-util-addons package we can use the following command:

sudo dnf remove python-peak-util-addons

References

Summary

In this tutorial we learn how to install python-peak-util-addons on CentOS 7 using yum and dnf.