How To Install gaffitter on Debian 9

In this tutorial we learn how to install gaffitter on Debian 9. gaffitter is File subsets extractor based on genetic algorithms

Introduction

In this tutorial we learn how to install gaffitter on Debian 9.

What is gaffitter

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).

There are three methods to install gaffitter on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gaffitter Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gaffitter using apt-get by running the following command:

sudo apt-get -y install gaffitter

Install gaffitter Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gaffitter using apt by running the following command:

sudo apt -y install gaffitter

Install gaffitter Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gaffitter using aptitude by running the following command:

sudo aptitude -y install gaffitter

How To Uninstall gaffitter on Debian 9

To uninstall only the gaffitter package we can use the following command:

sudo apt-get remove gaffitter

Uninstall gaffitter And Its Dependencies

To uninstall gaffitter and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove gaffitter

Remove gaffitter Configurations and Data

To remove gaffitter configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gaffitter

Remove gaffitter configuration, data, and all of its dependencies

We can use the following command to remove gaffitter configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gaffitter

Dependencies

gaffitter have the following dependencies:

References

Summary

In this tutorial we learn how to install gaffitter package on Debian 9 using different package management tools: apt, apt-get and aptitude.