How To Install rsync-bpc on CentOS 7

In this tutorial we learn how to install rsync-bpc on CentOS 7. rsync-bpc is A customized version of rsync that is used as part of BackupPC

Introduction

In this tutorial we learn how to install rsync-bpc on CentOS 7.

What is rsync-bpc

Rsync-bpc is a customized version of rsync that is used as part of BackupPC, an open source backup system. The main change to rsync is adding a shim layer (in the subdirectory backuppc, and in bpc_sysCalls.c) that emulates the system calls for accessing the file system so that rsync can directly read/write files in BackupPC’s format. Rsync-bpc is fully line-compatible with vanilla rsync, so it can talk to rsync servers and clients. Rsync-bpc serves no purpose outside of BackupPC.

We can use yum or dnf to install rsync-bpc on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rsync-bpc.

Install rsync-bpc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install rsync-bpc

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

sudo dnf -y install rsync-bpc

How To Uninstall rsync-bpc on CentOS 7

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

sudo dnf remove rsync-bpc

References

Summary

In this tutorial we learn how to install rsync-bpc on CentOS 7 using yum and dnf.