fsdeploy command not found

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

Introduction

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

fsdeploy: command not found

or when using sudo you get the following error message

sudo: fsdeploy: command not found

Solutions to fsdeploy: command not found

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

In Ubuntu fsdeploy is provided by forensics-samples-tools package.

forensics-samples-tools is:

forensics-samples is a set of useful files to help to learn or test forensics tools and techniques. These files are examples of pictures, filesystems and other possible artifacts as memory dumps (not available yet).

forensics-samples is useful for students and CI tests. The main intent of this work is provide a standardized set of files to avoid time waste in some tasks when learning about forensics or testing tools.

There are some filesystem images available (currently: ext2, ext4, btrfs, NTFS, FAT2 (vfat) and exFAT). Inside each filesystem image, all files from “original-files” directory were copied and, after this, all directories ending with “2” in their names were deleted. Is possible use tools to analyse the files and their metadata or carvers to recover deleted files.

On Debian, forensics-samples also is useful to provide files to be used by other packages in CI tests (autopkgtest), making several source-packages smallest (e.g.: metacam, ext4magic, foremost, magicrescue, disktype, etc). All you need is use it as a dependency for your test in debian/tests/control file.

This package provides some tools (currently fsdeploy only).

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

sudo apt-get -y install forensics-samples-tools

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

You can also use apt command to install forensics-samples-tools.

sudo apt -y install forensics-samples-tools

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

sudo aptitude install forensics-samples-tools

Summary

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