How To Install casync on Fedora 34

casync is Content Addressable Data Synchronizer

Introduction

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

What is casync

casync provides a way to efficiently transfer files which change over time over the internet. It will split a given set into a git-inspired content-addressable set of smaller compressed chunks, which can then be conveniently transferred using HTTP. On the receiving side those chunks will be uncompressed and merged together to recreate the original data. When the original data is modified, only the new chunks have to be transferred during an update.

We can use yum or dnf to install casync on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install casync.

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

sudo dnf -y install casync

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

sudo yum -y install casync

How To Uninstall casync on Fedora 34

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

sudo dnf remove casync

casync Package Contents on Fedora 34

/usr/bin/casync
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/12494566fe67fe01c3d5fc6b08a4341b9f621a
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/13973741fa607aeb73c6994a7311401f3fbe20
/usr/lib/casync
/usr/lib/casync/protocols
/usr/lib/casync/protocols/casync-ftp
/usr/lib/casync/protocols/casync-http
/usr/lib/casync/protocols/casync-https
/usr/lib/casync/protocols/casync-sftp
/usr/lib/udev/rules.d/75-casync.rules
/usr/share/doc/casync
/usr/share/doc/casync/README.md
/usr/share/doc/casync/TODO
/usr/share/licenses/casync
/usr/share/licenses/casync/LICENSE.LGPL2.1
/usr/share/man/man1/casync.1.gz

References

Summary

In this tutorial we learn how to install casync on Fedora 34 using yum and dnf.