gaffitter command not found

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

Introduction

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

gaffitter: command not found

or when using sudo you get the following error message

sudo: gaffitter: command not found

Solutions to gaffitter: command not found

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

In Ubuntu gaffitter is provided by gaffitter package.

gaffitter is:

Genetic Algorithm File Fitter (gaffitter) is a command-line software written in C++ that extracts –via genetic algorithm– subsets of an input list of files/directories that best fit the given volume size (target), such as CD, DVD and others.

gaffitter provides an intelligent manner (thanks to Genetic Algorithm) to minimize the error between the desired target size and the selected candidates of files/directories. Gaffitter highlights:

  • Uses a global meta-heuristic (Genetic Algorithm search).
  • The command-line interface provides high integration (via pipe) with other tools, i.e. works as a “filter”.
  • Allow the user to enter ‘size identifier’ pairs directly instead of file/dir names.
  • Pretty configurable. gaffitter have many input parameters to control/adjust its behavior (including GA params).

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

sudo apt-get -y install gaffitter

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

You can also use apt command to install gaffitter.

sudo apt -y install gaffitter

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

sudo aptitude install gaffitter

Summary

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