apt-btrfs-snapshot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
apt-btrfs-snapshot: command not found
or when using sudo you get the following error message
sudo: apt-btrfs-snapshot: command not found
Solutions to apt-btrfs-snapshot: command not found
How To Fix apt-btrfs-snapshot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu apt-btrfs-snapshot is provided by apt-btrfs-snapshot package.
apt-btrfs-snapshot is:
This will create a btrfs snapshot of the root filesystem each time that apt installs/removes/upgrades a software package.
A commandline tool called “apt-btrfs-snapshot” is also provided for easy access create/list/delete snapshots.
To fix this problem, we can install more using the command below.
sudo apt-get -y install apt-btrfs-snapshot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install apt-btrfs-snapshot.
sudo apt -y install apt-btrfs-snapshot
Or if you have aptitude installed you can use the following command.
sudo aptitude install apt-btrfs-snapshot
Summary
In this tutorial we learn how to fix apt-btrfs-snapshot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.