# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gaffitter>
- **版本:** 1.0.0
- **来源摘要:** Efficiently fit files/folders to fixed size volumes (like DVDs)
- **主页:** <https://gaffitter.sourceforge.net/>
- **仓库:** <https://sourceforge.net/p/gaffitter/source>
- **上游文档:** <https://gaffitter.sourceforge.net/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/gaffitter/gaffitter/1.0.0/gaffitter-1.0.0.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- fit (cli)
- fit (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.0
- 本地数据: OK
- 上游仓库: https://gaffitter.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gaffitter
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [ddh](https://www.automicvault.com/zh-hans/pkg/brew/ddh/) - Shares av.db curated category or tags: cli, file-management, system.
- [fpart](https://www.automicvault.com/zh-hans/pkg/brew/fpart/) - Shares av.db curated category or tags: cli, file-management, packing, system.
- [g-ls](https://www.automicvault.com/zh-hans/pkg/brew/g-ls/) - Shares av.db curated category or tags: cli, file-management, system.
- [gomi](https://www.automicvault.com/zh-hans/pkg/brew/gomi/) - Shares av.db curated category or tags: cli, file-management, system.
- [gtrash](https://www.automicvault.com/zh-hans/pkg/brew/gtrash/) - Shares av.db curated category or tags: cli, file-management, system.
- [mmv](https://www.automicvault.com/zh-hans/pkg/brew/mmv/) - Shares av.db curated category or tags: cli, file-management, system.
- [periscope](https://www.automicvault.com/zh-hans/pkg/brew/periscope/) - Shares av.db curated category or tags: cli, file-management, system.
- [rmrfrs](https://www.automicvault.com/zh-hans/pkg/brew/rmrfrs/) - Shares av.db curated category or tags: cli, file-management, system.
- [clean](https://www.automicvault.com/zh-hans/pkg/brew/clean/) - Local package facts share a topical domain. Shared terms: cli, file, files, system.

## Combined YAML source

View the package source record on GitHub. [combined/gaffitter.yml](https://github.com/automic-vault/db/blob/main/combined/gaffitter.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
