How To Install librsync on Fedora 36

In this tutorial we learn how to install librsync in Fedora 36. librsync is Rsync remote-delta algorithm library

Introduction

In this tutorial we learn how to install librsync on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install librsync.

Install librsync on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove librsync

librsync Package Contents on Fedora 36

/usr/bin/rdiff
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/ac4b4c1a13d6574f1344e3b4cd3153cbd0a9d7
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/6b551f6c520f3935ff9e38cc68bc244c9494f8
/usr/lib/librsync.so.2
/usr/lib/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install librsync on Fedora 36” linkTitle: “librsync” type: “docs” description: “In this tutorial we learn how to install librsync in Fedora 36. librsync is Rsync remote-delta algorithm library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/librsync-featured.png

Introduction

In this tutorial we learn how to install librsync on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install librsync.

Install librsync on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove librsync

librsync Package Contents on Fedora 36

/usr/bin/rdiff
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/d71cab03d8438e920a786ac2e371e7395df7d8
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/287f706e6608f0912dac3adecf106e640b0457
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).