How To Install Rex on AlmaLinux 8

In this tutorial we learn how to install Rex in AlmaLinux 8. Rex is The friendly automation framework on basis of Perl

Introduction

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

What is Rex

(R)?ex(ify) is the friendly automation framework on basis of the Perl scripting language. You can use it in your everyday DevOps life for * Continous Delivery * Configuration Management * Automation * Cloud Deployment * Virtualization * Software Rollout * Server Provisioning It’s friendly to any combinations of local and remote execution, push and pull style of management, or imperative and declarative approach. Instead of forcing any specific model on you, it trusts you to be in the best position to decide what to automate and how, allowing you to build the automation tool your situation requires. Rex runs locally, even if managing remotes via SSH. This means it’s instantly usable, without big rollout processes or anyone else to convince, making it ideal and friendly for incremental automation.

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

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

sudo dnf -y install Rex

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

sudo yum -y install Rex

How To Uninstall Rex on AlmaLinux 8

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

sudo dnf remove Rex

References

Summary

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