How To Install python-kid on CentOS 7

In this tutorial we learn how to install python-kid on CentOS 7. python-kid is Kid - A simple and pythonic XML template language

Introduction

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

What is python-kid

Kid is a simple Python based template language for generating and transforming XML vocabularies. Templates are compiled to native Python byte-code and may be imported and used like normal Python modules.

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

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

sudo yum -y install python-kid

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

sudo dnf -y install python-kid

How To Uninstall python-kid on CentOS 7

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

sudo dnf remove python-kid

References

Summary

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