How To Install duply on CentOS 7

In this tutorial we learn how to install duply on CentOS 7. duply is Wrapper for duplicity

Introduction

In this tutorial we learn how to install duply on CentOS 7.

What is duply

duply is a frontend for the mighty duplicity magic. It simplifies running duplicity with cron or on command line by - keeping recurring settings in profiles per backup job - automated import/export of keys between profile and keyring - enabling batch operations e.g. backup_verify_purge - executing pre/post scripts - precondition checking for flawless duplicity operation Since version 1.5.0 all duplicity backends are supported. Hence the name changed from ftplicity to duply.

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

Install duply on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install duply

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

sudo dnf -y install duply

How To Uninstall duply on CentOS 7

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

sudo dnf remove duply

References

Summary

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