How To Install remctl-ruby on Rocky Linux 8

In this tutorial we learn how to install remctl-ruby on Rocky Linux 8. remctl-ruby is Ruby interface to remctl

Introduction

In this tutorial we learn how to install remctl-ruby on Rocky Linux 8.

What is remctl-ruby

remctl implements a client/server protocol for running single commands on a remote host using Kerberos v5 authentication. If you want to use remctl’s Ruby bindings, you need to install this package.

We can use yum or dnf to install remctl-ruby on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install remctl-ruby.

Install remctl-ruby on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install remctl-ruby

Install remctl-ruby on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install remctl-ruby

How To Uninstall remctl-ruby on Rocky Linux 8

To uninstall only the remctl-ruby package we can use the following command:

sudo dnf remove remctl-ruby

remctl-ruby Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/a30b8bb4a9a1e0650a17c131134329ee25517e
/usr/lib64/ruby/vendor_ruby/remctl.so
/usr/share/doc/remctl-ruby
/usr/share/doc/remctl-ruby/README

References

Summary

In this tutorial we learn how to install remctl-ruby on Rocky Linux 8 using yum and dnf.