Duplicity is a free backup software that allows you to create encrypted and digitally signed backups of your data for ensuring its authenticity. You can also keep a track of all the backup versions with this tool.
The backups can be created both locally or remotely. Duplicity is a cross-platform backup tool that first creates a full backup of the desired data and then maintains their incremental backups.
In this context, we shall look into how to install Duplicity on a Linux system.
How to install Duplicity on Linux Mint 20 ?
To install Duplicity on your Linux System, follow the steps outlined below.
1. Update the Cache of your Linux System:
You can update your Linux Mint 20 system with the command shown below:
$ sudo apt-get update –y
The "-y" flag is used over here to bypass the confirmation message during the system update.
When the update process completes, you will be able to install Duplicity on your system.
2. Install Duplicity on your System:
Now, you can install Duplicity on your system with the following command:
$ sudo apt-get install –y duplicity
Again, we have used the "-y" flag with "install" command so that our Linux system does not ask for confirmation during the installation.
After performing this step, you will have Duplicity installed on your Linux system.
3. Check if Duplicity is Installed on your System or not:
We can confirm the installation of Duplicity on our Linux system by executing the command shown below in our terminal:
$ apt-cache policy duplicity
How to Uninstall Duplicity from Linux Mint 20 ?
Whenever you want to remove Duplicity from your system, then you can conveniently execute a very simple command shown below in your terminal:
$ sudo apt-get purge --autoremove duplicity
This command will not only remove Duplicity and its configuration files from your Linux system but will also clean up all the extra packages and dependencies so that your system's storage space is conserved.