rdiff-backup-delete command not found

In this troubleshooting guide we learn how to fix rdiff-backup-delete command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rdiff-backup-delete: command not found

or when using sudo you get the following error message

sudo: rdiff-backup-delete: command not found

Solutions to rdiff-backup-delete: command not found

How To Fix rdiff-backup-delete: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rdiff-backup-delete is provided by rdiff-backup package.

rdiff-backup is:

rdiff-backup backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago. The idea is to combine the best features of a mirror and an incremental backup. rdiff-backup also preserves subdirectories, hard links, dev files, permissions, uid/gid ownership, modification times, extended attributes, acls, and resource forks.

Also, rdiff-backup can operate in a bandwidth efficient manner over a pipe, like rsync. Thus you can use rdiff-backup and ssh to securely back a hard drive up to a remote location, and only the differences will be transmitted. Finally, rdiff-backup is easy to use and settings have sensible defaults.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rdiff-backup

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rdiff-backup.

sudo apt -y install rdiff-backup

Or if you have aptitude installed you can use the following command.

sudo aptitude install rdiff-backup

Summary

In this tutorial we learn how to fix rdiff-backup-delete command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.