rear command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rear: command not found
or when using sudo you get the following error message
sudo: rear: command not found
Solutions to rear: command not found
How To Fix rear: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rear is provided by rear package.
rear is:
It is a modular framework with many ready-to-go workflows for common situations. Relax-and-Recover produces a bootable image. This image can repartition the system. Once that is done it initiates a restore from backup. Restores to different hardware are possible. Relax-and-Recover can therefore be used as a migration tool as well.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rear
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rear.
sudo apt -y install rear
Or if you have aptitude installed you can use the following command.
sudo aptitude install rear
Summary
In this tutorial we learn how to fix rear command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.