How To Install rdist.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rdist.x86_64 in Amazon Linux 2. rdist.x86_64 is Maintains identical copies of files on multiple machines

Introduction

In this tutorial we learn how to install rdist.x86_64 on Amazon Linux 2.

What is rdist.x86_64

The RDist program maintains identical copies of files on multiple hosts. If possible, RDist will preserve the owner, group, mode and mtime of files and it can update programs that are executing. Install rdist if you need to maintain identical copies of files on multiple hosts.

We can use yum to install rdist.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rdist.x86_64.

Install rdist.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rdist.x86_64 using yum by running the following command:

sudo yum -y install rdist.x86_64

How To Uninstall rdist.x86_64 on Amazon Linux 2

To uninstall only the rdist.x86_64 package we can use the following command:

sudo yum remove rdist.x86_64

rdist.x86_64 Package Contents on Amazon Linux 2

/usr/bin/oldrdist
/usr/bin/rdist
/usr/bin/rdistd
/usr/sbin/rdistd
/usr/share/doc/rdist-6.1.5
/usr/share/doc/rdist-6.1.5/README
/usr/share/doc/rdist-6.1.5/rdist-eu-license.txt
/usr/share/doc/rdist-6.1.5/rdist-licensing-email.txt
/usr/share/man/man1/rdist.1.gz
/usr/share/man/man8/rdistd.8.gz

References

Summary

In this tutorial we learn how to install rdist.x86_64 on Amazon Linux 2 using yum.