fatpack command not found

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

Introduction

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

fatpack: command not found

or when using sudo you get the following error message

sudo: fatpack: command not found

Solutions to fatpack: command not found

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

In Ubuntu fatpack is provided by libapp-fatpacker-perl package.

libapp-fatpacker-perl is:

While the proliferation of solutions like local::lib and cpanminus has made it a breeze to manage dependencies, there are still some rare occassions in which shipping code that has no external non-core dependencies is necessary.

App::FatPacker and the included fatpack script do the work of tracing, collecting packlists, extracting modules in fatlib, then concatenating into a packed script - in one shot.

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

sudo apt-get -y install libapp-fatpacker-perl

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

You can also use apt command to install libapp-fatpacker-perl.

sudo apt -y install libapp-fatpacker-perl

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

sudo aptitude install libapp-fatpacker-perl

Summary

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