How To Install rdist on Fedora 34

rdist is Maintains identical copies of files on multiple machines

Introduction

In this tutorial we learn how to install rdist on Fedora 34.

What is rdist

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 or dnf to install rdist on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install rdist.

Install rdist on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install rdist

Install rdist on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install rdist

How To Uninstall rdist on Fedora 34

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

sudo dnf remove rdist

rdist Package Contents on Fedora 34

/usr/bin/oldrdist
/usr/bin/rdist
/usr/bin/rdistd
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/509d2c40b7a4a8203d4c6cf47e9113857f59b0
/usr/lib/.build-id/86
/usr/lib/.build-id/86/41b8cb4ad23c4db22bbb6511b3332de8f362ec
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/ccfd075ac8e4f2e08e086037637e1443c39807
/usr/sbin/rdistd
/usr/share/doc/rdist
/usr/share/doc/rdist/README
/usr/share/doc/rdist/rdist-eu-license.txt
/usr/share/doc/rdist/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 on Fedora 34 using yum and dnf.