snapper command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
snapper: command not found
or when using sudo you get the following error message
sudo: snapper: command not found
Solutions to snapper: command not found
How To Fix snapper: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu snapper is provided by snapper package.
snapper is:
Snapper is a tool for Linux filesystem snapshot management. Apart from the obvious creation and deletion of snapshots, it can compare snapshots and revert differences between snapshots. In simple terms, this allows root and non-root users to view older versions of files and revert changes.
The features include:
- Manually create snapshots
- Automatically create snapshots, e.g. when using a package manager
- Automatically create timeline of snapshots
- Show and revert changes between snapshots
- Works with btrfs and thin-provisioned LVM volumes
- Supports Access Control Lists and Extended Attributes
- Automatic cleanup of old snapshots
- Command line interface
- D-Bus interface
- PAM module to create snapshots during login and logout (libpam-snapper)
To fix this problem, we can install more using the command below.
sudo apt-get -y install snapper
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install snapper.
sudo apt -y install snapper
Or if you have aptitude installed you can use the following command.
sudo aptitude install snapper
Summary
In this tutorial we learn how to fix snapper command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.