How To Install librsync on Rocky Linux 8
Introduction
In this tutorial we learn how to install librsync
on Rocky Linux 8.
What is librsync
librsync is a library for calculating and applying network deltas, with an interface designed to ease integration into diverse network applications. librsync encapsulates the core algorithms of the rsync protocol, which help with efficient calculation of the differences between two files. The rsync algorithm is different from most differencing algorithms because it does not require the presence of the two files to calculate the delta. Instead, it requires a set of checksums of each block of one file, which together form a signature for that file. Blocks at any in the other file which have the same checksum are likely to be identical, and whatever remains is the difference.
We can use yum
or dnf
to install librsync
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install librsync.
Install librsync 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 librsync
using dnf
by running the following command:
sudo dnf -y install librsync
Install librsync 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 librsync
using yum
by running the following command:
sudo yum -y install librsync
How To Uninstall librsync on Rocky Linux 8
To uninstall only the librsync
package we can use the following command:
sudo dnf remove librsync
librsync Package Contents on Rocky Linux 8
/usr/bin/rdiff
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/c28718b62368c87f9b886ebb460eb3c52c13d4
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/8651b5e9c29ae04c078a67dee1f1c81f998e17
/usr/lib64/librsync.so.2
/usr/lib64/librsync.so.2.3.2
/usr/share/doc/librsync
/usr/share/doc/librsync/AUTHORS
/usr/share/doc/librsync/NEWS.md
/usr/share/doc/librsync/README.md
/usr/share/licenses/librsync
/usr/share/licenses/librsync/COPYING
/usr/share/man/man1/rdiff.1.gz
References
Summary
In this tutorial we learn how to install librsync
on Rocky Linux 8 using yum and dnf.