How To Install Rex on CentOS 8

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

Introduction

In this tutorial we learn how to install Rex on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install Rex.

Install Rex on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install Rex

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

sudo dnf -y install Rex

How To Uninstall Rex on CentOS 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 CentOS 8 using yum and dnf.