How To Install python2-libcnml on CentOS 7

In this tutorial we learn how to install python2-libcnml on CentOS 7. python2-libcnml is libcnml is a CNML parser library for Python

Introduction

In this tutorial we learn how to install python2-libcnml on CentOS 7.

What is python2-libcnml

Community Network Mark Up Language (CNML) is a project that aims to define an open ISO standard and scalable for describing mesh clouds, though it’s not limited to this kind of networks and nowadays it’s being used also in point to point infrastructure networks. CNML is a specification based on XML, which makes it easily extendible and readable for humans besides of computers. It includes some ideas from other implementations and previous concepts like nodeXchange and SNDX. Some advantages of using CNML is that it allows to uncouple different functionalities independently of the web application used to show the data, reducing dependence from it and its internal tables of the database.

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

Install python2-libcnml on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install python2-libcnml

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

sudo dnf -y install python2-libcnml

How To Uninstall python2-libcnml on CentOS 7

To uninstall only the python2-libcnml package we can use the following command:

sudo dnf remove python2-libcnml

References

Summary

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