fsarchiver command not found

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

Introduction

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

fsarchiver: command not found

or when using sudo you get the following error message

sudo: fsarchiver: command not found

Solutions to fsarchiver: command not found

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

In Ubuntu fsarchiver is provided by fsarchiver package.

fsarchiver is:

FSArchiver is a system tool that allows you to save the contents of a file system to a compressed archive file. The file system can be restored on a partition which has a different size and it can be restored on a different file system. Unlike tar/dar, FSArchiver also creates the file system when it extracts the data to partitions. Everything is checksummed in the archive in order to protect the data. If the archive is corrupt, you just lose the current file, not the whole archive.

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

sudo apt-get -y install fsarchiver

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

You can also use apt command to install fsarchiver.

sudo apt -y install fsarchiver

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

sudo aptitude install fsarchiver

Summary

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