How To Install rdup on Ubuntu 18.04

In this tutorial we learn how to install rdup on Ubuntu 18.04. rdup is utility to create a file list suitable for making backups

Introduction

In this tutorial we learn how to install rdup on Ubuntu 18.04.

What is rdup

rdup is:

rdup is a utility inspired by rsync and the plan9 way of doing things. rdup itself does not backup anything. It only prints a list of files that are changed, or all files in case of a null dump. It also handles files that are removed, allowing for correct incremental backups.

There are three methods to install rdup 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 rdup Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install rdup

Install rdup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install rdup using apt by running the following command:

sudo apt -y install rdup

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

sudo aptitude -y install rdup

How To Uninstall rdup on Ubuntu 18.04

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

sudo apt-get remove rdup

Uninstall rdup And Its Dependencies

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

sudo apt-get -y autoremove rdup

Remove rdup Configurations and Data

To remove rdup configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge rdup

Remove rdup configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rdup

References

Summary

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