# Install gaffitter with Homebrew, apt

Efficiently fit files/folders to fixed size volumes (like DVDs). Version 1.0.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install gaffitter.

## Install

```sh
sudo av install brew:gaffitter
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gaffitter
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gaffitter
```

  Evidence: Debian stable package indexes: gaffitter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:gaffitter
- **Package manager:** Homebrew
- **Version:** 1.0.0
- **Source summary:** Efficiently fit files/folders to fixed size volumes (like DVDs)
- **Homepage:** <https://gaffitter.sourceforge.net/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fit (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.0
## Project history and usage

GAFFitter, the Genetic Algorithm File Fitter, is a C++ command-line tool that uses a genetic algorithm to fit files or size/name items into fixed-size volumes such as CDs or DVDs while minimizing wasted space.

### Project history

GAFFitter is authored by Douglas A. Augusto and hosted on SourceForge. SourceForge project metadata records an August 2005 creation date, and the official homepage points to version 1.0.0, the SourceForge Git repository, and official Debian packages.

The homepage describes a POSIX-oriented command-line program designed to work as a filter in shell pipelines as well as on direct file and directory arguments.

### Adoption history

GAFFitter's adoption is small but package-manager-shaped: the official site links Debian packages, and the supplied package facts list Homebrew, Debian, and Ubuntu package names.

Its original use case reflects the optical-media era, but the underlying bin-packing-style workflow remains useful for arranging arbitrary items into fixed capacities.

### How it is used

Users run the fit executable with a target size and files, or pipe size/identifier pairs into it. Options control volume limits, direct input mode, delimiters, sort behavior, and genetic algorithm parameters such as seed, generations, population size, crossover probability, mutation probability, and selection pressure.

### Why package nerds care

GAFFitter is a compact example of a Unix filter wrapping a metaheuristic algorithm. For package maintainers, it is interesting because the executable name is fit rather than gaffitter, the upstream code is SourceForge-hosted Git, and the documentation still foregrounds CD/DVD packing.

### Timeline

- 2005: SourceForge project created.
- 2015: Official homepage lists version 1.0.0 and shows the site last updated in August 2015.
- 2020s: Present in Homebrew, Debian, and Ubuntu according to the supplied package facts.

### Related projects

- The official homepage links Debian packages as a distribution channel.
- The project documentation includes generated class documentation for the genetic algorithm implementation.

### Sources

- <https://gaffitter.sourceforge.net/>
- <https://gaffitter.sourceforge.net/classGA.html>
- <https://sourceforge.net/rest/p/gaffitter>
- <https://sourceforge.net/rest/p/gaffitter/source/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - gaffitter - 0.6.0-4: normalized package name match | Debian stable package indexes: gaffitter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | File subsets extractor based on genetic algorithms | http://gaffitter.sourceforge.net/
- Ubuntu apt - gaffitter - 0.6.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: gaffitter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | File subsets extractor based on genetic algorithms | http://gaffitter.sourceforge.net/


## Combined YAML source

View the package source record on GitHub. [combined/gaffitter.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gaffitter.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
