How To Install clufter-cli on CentOS 7

In this tutorial we learn how to install clufter-cli on CentOS 7. clufter-cli is Tool for transforming/analyzing cluster configuration formats

Introduction

In this tutorial we learn how to install clufter-cli on CentOS 7.

What is clufter-cli

While primarily aimed at (CMAN,rgmanager)->(Corosync/CMAN,Pacemaker) cluster stacks configuration conversion (as per RHEL trend), the command-filter-format framework (capable of XSLT) offers also other uses through its plugin library. This package contains clufter command-line interface for the underlying library (packaged as python-clufter).

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

Install clufter-cli on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install clufter-cli

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

sudo dnf -y install clufter-cli

How To Uninstall clufter-cli on CentOS 7

To uninstall only the clufter-cli package we can use the following command:

sudo dnf remove clufter-cli

References

Summary

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