How To Install deja-dup on Ubuntu 18.04

In this tutorial we learn how to install deja-dup on Ubuntu 18.04. deja-dup is Backup utility

Introduction

In this tutorial we learn how to install deja-dup on Ubuntu 18.04.

What is deja-dup

deja-dup is:

Déjà Dup is a simple backup tool. It hides the complexity of backing up the Right Way (encrypted, off-site, and regular) and uses duplicity as the backend.

Features:

  • Support for local, remote, or cloud backup locations such as Nextcloud
  • Securely encrypts and compresses your data
  • Incrementally backs up, letting you restore from any particular backup
  • Schedules regular backups
  • Integrates well into your GNOME desktop

There are three methods to install deja-dup on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install deja-dup Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install deja-dup using apt-get by running the following command:

sudo apt-get -y install deja-dup

Install deja-dup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install deja-dup using apt by running the following command:

sudo apt -y install deja-dup

Install deja-dup Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install deja-dup using aptitude by running the following command:

sudo aptitude -y install deja-dup

How To Uninstall deja-dup on Ubuntu 18.04

To uninstall only the deja-dup package we can use the following command:

sudo apt-get remove deja-dup

Uninstall deja-dup And Its Dependencies

To uninstall deja-dup and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove deja-dup

Remove deja-dup Configurations and Data

To remove deja-dup configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge deja-dup

Remove deja-dup configuration, data, and all of its dependencies

We can use the following command to remove deja-dup configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge deja-dup

References

Summary

In this tutorial we learn how to install deja-dup package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.