How To Install python-pyramid on CentOS 7

In this tutorial we learn how to install python-pyramid on CentOS 7. python-pyramid is The Pyramid web application framework, a Pylons project

Introduction

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

What is python-pyramid

Pyramid is a small, fast, down-to-earth, open source Python web development framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.

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

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

sudo yum -y install python-pyramid

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

sudo dnf -y install python-pyramid

How To Uninstall python-pyramid on CentOS 7

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

sudo dnf remove python-pyramid

References

Summary

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