How To Install clustershell on AlmaLinux 8

In this tutorial we learn how to install clustershell in AlmaLinux 8. clustershell is Python framework for efficient cluster administration

Introduction

In this tutorial we learn how to install clustershell on AlmaLinux 8.

What is clustershell

ClusterShell is a set of tools and a Python library to execute commands on cluster nodes in parallel depending on selected engine and worker mechanisms. Advanced node sets and node groups handling methods are provided to ease and improve the daily administration of large compute clusters or server farms. Command line utilities like clush, clubak and nodeset (or cluset) allow traditional shell scripts to take benefit of the features offered by the library.

We can use yum or dnf to install clustershell on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install clustershell.

Install clustershell on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install clustershell using dnf by running the following command:

sudo dnf -y install clustershell

Install clustershell on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clustershell using yum by running the following command:

sudo yum -y install clustershell

How To Uninstall clustershell on AlmaLinux 8

To uninstall only the clustershell package we can use the following command:

sudo dnf remove clustershell

References

Summary

In this tutorial we learn how to install clustershell on AlmaLinux 8 using yum and dnf.