Ubuntu Tutorial

How To Install gaffitter on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes  • 440 words

Introduction

In this tutorial we learn how to install gaffitter on Ubuntu.

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:

There are three methods to install gaffitter on Ubuntu. 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 Ubuntu. 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 Ubuntu

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 Ubuntu, we can use the command below:

sudo apt-get -y autoremove gaffitter

Remove gaffitter Configurations and Data

To remove gaffitter configuration and data from Ubuntu 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 Ubuntu using different package management tools: apt, apt-get and aptitude.

Follow us

We provides various tutorials about Ubuntu