# Installer advancecomp avec Homebrew, apk, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de advancecomp pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:advancecomp
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install advancecomp
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install advancecomp
```

  Preuve: MacPorts ports tree: archivers/advancecomp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add advancecomp
```

  Preuve: Alpine Linux edge package indexes: advancecomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install advancecomp
```

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

- dnf (92%):

```sh
sudo dnf install advancecomp
```

  Preuve: Fedora Rawhide package metadata: advancecomp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#advancecomp
```

  Preuve: nixpkgs package indexes: pkgs/by-name/ad/advancecomp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:advancecomp
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/advancecomp>
- **Version:** 2.6
- **Résumé source:** Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files
- **Page d'accueil:** <https://www.advancemame.it/comp-readme.html>
- **Dépôt:** <https://github.com/amadvance/advancecomp>
- **Docs amont:** <https://www.advancemame.it/comp-readme.html>
- **Licence:** GPL-3.0-only
- **Archive source:** <https://github.com/amadvance/advancecomp/releases/download/v2.6/advancecomp-2.6.tar.gz>
- **Dernière mise à jour:** 2026-07-02T11:12:14-04:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- advdef (cli)
- advmng (cli)
- advpng (cli)
- advzip (cli)
- advdef (alias)
- advmng (alias)
- advpng (alias)
- advzip (alias)

## Dépendances de compilation

- autoconf
- automake
- libtool

## Bibliothèques fournies par macOS

- bzip2

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.6
- gestionnaire mis à jour: 2026-07-02
- données locales: OK
- dépôt amont: https://github.com/amadvance/advancecomp
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

AdvanceCOMP is Andrea Mazzoleni's collection of recompression utilities for ZIP, PNG, MNG, GZ, and related deflate streams. It is best known in package-manager circles as a small suite of aggressive, lossless recompression commands: `advzip`, `advpng`, `advmng`, and `advdef`.

### Historique du projet

AdvanceCOMP came out of the Advance emulator tooling family. The official history shows the first AdvanceSCAN public release in 2002 carrying early `advzip` functionality, then `advpng` and `advmng`, before AdvanceCOMP 1.5 split from AdvanceSCAN in January 2003 and added `advdef`.

The official README describes AdvanceCOMP as utilities for recompressing ZIP archives, PNG snapshots, MNG video clips, and GZ files, especially for ROM, snapshot, and clip collections of emulated games. The GitHub README confirms broad platform support across Linux, Mac OS X, DOS, Windows, and other Unix-like platforms.

The project has kept its compression engine current over time. Its history records zopfli support and a GPLv3 change in 2013, libdeflate support becoming the default in 2016, libdeflate updates through 2023, and security fixes for multiple CVEs in 2022.

### Historique d'adoption

The provided package facts show AdvanceCOMP available through Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, and Ubuntu. That is wide adoption for a specialist recompressor and reflects its usefulness beyond the AdvanceMAME world, especially anywhere deterministic lossless size reduction is desirable.

AdvanceCOMP's adoption overlaps with PNG and archive optimization workflows. Its own documentation compares it with OptiPNG and pngcrush, while its utilities are also useful in emulator collections where many ZIPs and screenshots are stored for long periods.

### Modes d'utilisation

`advzip` recompresses and tests ZIP archives, using libdeflate by default and optionally trying slower 7z or zopfli modes. `advpng` recompresses PNG files, especially AdvanceMAME-generated snapshots, by stripping ancillary chunks, joining IDAT chunks, and recompressing deflate data. `advdef` recompresses compressed data inside PNG, MNG, GZ, TGZ, and SVGZ files without changing the surrounding file structure.

The package is usually run as a post-processing tool: apply it to archives or images when smaller files matter more than CPU time. Its `--shrink-insane`/iteration options are a clear signal that the package optimizes for enthusiasts willing to spend cycles for marginal byte savings.

### Pourquoi les passionnés de paquets s'y intéressent

AdvanceCOMP is significant because it packages compression obsession into stable, scriptable Unix commands. It is the kind of tool maintainers reach for in build pipelines, ROM set cleanup, reproducible archive experiments, and asset-shrinking tasks where a GUI optimizer would be awkward.

Its history also mirrors the evolution of deflate optimization culture: 7-Zip deflate, zopfli, and libdeflate each appear as the project chases better size/speed tradeoffs while keeping simple command-line tools.

### Chronologie

- 2002: Early AdvanceSCAN releases introduced AdvanceZIP, advpng, and advmng.
- 2003: AdvanceCOMP 1.5 split from AdvanceSCAN and added advdef.
- 2013: AdvanceCOMP 1.17 changed to GPLv3 and added zopfli support.
- 2016: AdvanceCOMP 1.21 added libdeflate support and made it the default.
- 2022: AdvanceCOMP 2.4 fixed multiple CVEs and updated libdeflate.
- 2023: AdvanceCOMP 2.6 updated libdeflate to 1.19.

### Related projects

- AdvanceMAME and AdvanceSCAN are sibling projects in the Advance project family.
- OptiPNG, pngcrush, zopfli, libdeflate, and 7-Zip are adjacent compression tools or libraries referenced by the project documentation and history.

### Sources

- <https://github.com/amadvance/advancecomp#readme>
- <https://www.advancemame.it/comp-history>
- <https://www.advancemame.it/comp-readme.html>
- <https://www.advancemame.it/doc-advdef>
- <https://www.advancemame.it/doc-advpng>
- <https://www.advancemame.it/doc-advzip>
- source_facts.package-manager


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** advancecomp
- **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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - advancecomp - 2.5-1: normalized package name match | Debian stable package indexes: advancecomp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | collection of recompression utilities | http://www.advancemame.it/
- Nix - advancecomp: normalized package name match | nixpkgs package indexes: pkgs/by-name/ad/advancecomp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - advancecomp - 2.5-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: advancecomp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | collection of recompression utilities | http://www.advancemame.it/
- apk - advancecomp - 2.6-r0: normalized package name match | Alpine Linux edge package indexes: advancecomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files | https://www.advancemame.it/
- apk - advancecomp-doc - 2.6-r0: normalized package name match | Alpine Linux edge package indexes: advancecomp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files (documentation) | https://www.advancemame.it/
- dnf - advancecomp - 2.6-19.fc45: normalized package name match | Fedora Rawhide package metadata: advancecomp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Recompression utilities for .png, .mng, .zip and .gz files | https://www.advancemame.it/
- MacPorts - advancecomp: normalized package name match | MacPorts ports tree: archivers/advancecomp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://pkg.so/fr/archive-compression-tools/) - Matched archive or compression metadata.
- [libtool](https://pkg.so/fr/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/fr/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/fr/brew/automake/) - Build dependency declared by Homebrew.
- [libarchive](https://pkg.so/fr/brew/libarchive/) - Shares pkgdb curated category or tags: cli, compression, developer-tools, zip.
- [libdeflate](https://pkg.so/fr/brew/libdeflate/) - Shares pkgdb curated category or tags: cli, compression, developer-tools, gzip.
- [zip](https://pkg.so/fr/brew/zip/) - Shares pkgdb curated category or tags: cli, compression, developer-tools, zip.
- [pigz](https://pkg.so/fr/brew/pigz/) - Shares pkgdb curated category or tags: cli, compression, developer-tools, gzip.
- [zopfli](https://pkg.so/fr/brew/zopfli/) - Shares pkgdb curated category or tags: cli, compression, developer-tools, gzip.
- [brotli](https://pkg.so/fr/brew/brotli/) - Shares pkgdb curated category or tags: cli, compression, developer-tools.
- [upx](https://pkg.so/fr/brew/upx/) - Shares pkgdb curated category or tags: cli, compression, developer-tools.
- [mermaid-cli](https://pkg.so/fr/brew/mermaid-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, png.
- [woff2](https://pkg.so/fr/brew/woff2/) - Local package facts share a topical domain. Shared terms: cli, compression, developer, developer-tools, files.

## Combined YAML source

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


## Sources

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