How To Install python-pylons on CentOS 7

In this tutorial we learn how to install python-pylons on CentOS 7. python-pylons is Pylons web framework

Introduction

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

What is python-pylons

The Pylons web framework is aimed at making webapps and large programmatic website development in Python easy. Several key points * A framework to make writing web applications in Python easy * Inspired by Rails and TurboGears * Utilizes a minimalist, component-based philosophy that makes it easy to expand on * Harness existing knowledge about Python

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

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

sudo yum -y install python-pylons

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

sudo dnf -y install python-pylons

How To Uninstall python-pylons on CentOS 7

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

sudo dnf remove python-pylons

References

Summary

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