expirebackups command not found

In this troubleshooting guide we learn how to fix expirebackups command not found error message

Introduction

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

expirebackups: command not found

or when using sudo you get the following error message

sudo: expirebackups: command not found

Solutions to expirebackups: command not found

How To Fix expirebackups: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu expirebackups is provided by simplebackup package.

simplebackup is:

The included script performs a nice and easy file based backup. It can easily be extended to include database dumps or save the output from fdisk -L and other things as well.

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

sudo apt-get -y install simplebackup

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

You can also use apt command to install simplebackup.

sudo apt -y install simplebackup

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

sudo aptitude install simplebackup

Summary

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