How To Install python-myghty on CentOS 7

In this tutorial we learn how to install python-myghty on CentOS 7. python-myghty is Python-based templating system derived from HTML::Mason

Introduction

In this tutorial we learn how to install python-myghty on CentOS 7.

What is python-myghty

Myghty is a Python based web and templating framework originally based on HTML Amazon.com, del.icio.us and Salon.com, among many others. Myghty fully implements Mason’s templating language, component-based architecture, and caching system, and goes beyond, adding new paradigms such the Module Components controller paradigm, full Python whitespace syntax, threading support, WSGI support, session support, and much more.

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

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

sudo yum -y install python-myghty

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

sudo dnf -y install python-myghty

How To Uninstall python-myghty on CentOS 7

To uninstall only the python-myghty package we can use the following command:

sudo dnf remove python-myghty

References

Summary

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