How To Install duplicity on AlmaLinux 8

In this tutorial we learn how to install duplicity in AlmaLinux 8. duplicity is Encrypted bandwidth-efficient backup using rsync algorithm

Introduction

In this tutorial we learn how to install duplicity on AlmaLinux 8.

What is duplicity

Duplicity incrementally backs up files and directory by encrypting tar-format volumes with GnuPG and uploading them to a remote (or local) file server. In theory many protocols for connecting to a file server could be supported; so far ssh/scp, local file access, rsync, ftp, HSI, WebDAV and Amazon S3 have been written. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Currently duplicity supports deleted files, full unix permissions, directories, symbolic links, fifos, device files, but not hard links.

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

Install duplicity on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install duplicity using dnf by running the following command:

sudo dnf -y install duplicity

Install duplicity on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install duplicity using yum by running the following command:

sudo yum -y install duplicity

How To Uninstall duplicity on AlmaLinux 8

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

sudo dnf remove duplicity

References

Summary

In this tutorial we learn how to install duplicity on AlmaLinux 8 using yum and dnf.