How To Install python36-cookies on CentOS 7

In this tutorial we learn how to install python36-cookies on CentOS 7. python36-cookies is Friendlier RFC 6265-compliant cookie parser/renderer

Introduction

In this tutorial we learn how to install python36-cookies on CentOS 7.

What is python36-cookies

cookies.py is a Python module for working with HTTP cookies parsing and rendering ‘Cookie response headers, and exposing a convenient API for creating and modifying cookies. It can be used as a replacement of Python’s Cookie.py (aka http.cookies).

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

Install python36-cookies on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python36-cookies using yum by running the following command:

sudo yum -y install python36-cookies

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

sudo dnf -y install python36-cookies

How To Uninstall python36-cookies on CentOS 7

To uninstall only the python36-cookies package we can use the following command:

sudo dnf remove python36-cookies

References

Summary

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