How To Install python-cornice on CentOS 7

In this tutorial we learn how to install python-cornice on CentOS 7. python-cornice is Define Web Services in Pyramid

Introduction

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

What is python-cornice

Helpers to build & document Web Services with Pyramid.

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

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

sudo yum -y install python-cornice

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

sudo dnf -y install python-cornice

How To Uninstall python-cornice on CentOS 7

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

sudo dnf remove python-cornice

References

Summary

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