# 使用 Homebrew, apt 安装 gaffitter

查看 gaffitter 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gaffitter
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gaffitter
```

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

## 软件包事实

- **软件包键:** brew:gaffitter
- **软件包管理器:** Homebrew
- **版本:** 1.0.0
- **来源摘要:** Efficiently fit files/folders to fixed size volumes (like DVDs)
- **主页:** <https://gaffitter.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fit (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.0
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

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


## 来源

- 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
