How To Install rsync-daemon on Rocky Linux 8

In this tutorial we learn how to install rsync-daemon on Rocky Linux 8. rsync-daemon is Service for anonymous access to rsync

Introduction

In this tutorial we learn how to install rsync-daemon on Rocky Linux 8.

What is rsync-daemon

Rsync can be used to offer read only access to anonymous clients. This package provides the anonymous rsync service.

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

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

sudo dnf -y install rsync-daemon

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

sudo yum -y install rsync-daemon

How To Uninstall rsync-daemon on Rocky Linux 8

To uninstall only the rsync-daemon package we can use the following command:

sudo dnf remove rsync-daemon

rsync-daemon Package Contents on Rocky Linux 8

/etc/rsyncd.conf
/etc/sysconfig/rsyncd
/usr/lib/systemd/system/rsyncd.service
/usr/lib/systemd/system/rsyncd.socket
/usr/lib/systemd/system/[email protected]
/usr/share/man/man5/rsyncd.conf.5.gz

References

Summary

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