# Installer fig2dev avec Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, dnf

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

## installation

```sh
sudo av install brew:fig2dev
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install fig2dev
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fig2dev
```

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

### Linux

- apk (92%):

```sh
sudo apk add fig2dev
```

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

- Debian apt (92%):

```sh
sudo apt install fig2dev
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#fig2dev
```

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

- pacman (92%):

```sh
sudo pacman -S fig2dev
```

  Preuve: Arch Linux sync databases: fig2dev from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install transfig
```

  Preuve: openSUSE Tumbleweed package metadata: transfig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install transfig
```

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

## Faits du paquet

- **Clé du paquet:** brew:fig2dev
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.2.9a
- **Résumé source:** Translates figures generated by xfig to other formats
- **Page d'accueil:** <https://mcj.sourceforge.net/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- fig2dev (alias)
- fig2ps2tex (alias)
- pic2tpic (alias)
- transfig (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 3.2.9a
## Historique du projet et usages

fig2dev is the converter half of the Xfig ecosystem: it translates .fig drawings into PostScript, TeX-related formats, bitmap formats, SVG, TikZ, and other graphics languages.

### Historique du projet

The official README describes fig2dev as a set of tools for creating TeX documents with portable graphics. The package consists of the fig2dev command and the transfig command; fig2dev performs the actual translation from Fig code, while transfig generates TeX macro and Makefile support for documents that include figures.

The historical package name matters. The Xfig installation guide says users needed both xfig and fig2dev to be complete, and that until about 2016 the fig2dev package was called transfig. The README now says transfig is considered obsolete and is not built by default unless explicitly enabled.

The CHANGES file shows a long maintenance history from the Transfig 2.1 series in the early 1990s through modern fig2dev 3.2 patchlevels. Recent releases emphasize input hardening, portability fixes, UTF-8 output, Darwin/BSD build fixes, and output improvements for formats such as PDF, EPS, SVG, and TikZ.

### Historique d'adoption

fig2dev's adoption followed xfig's role as a Unix/X11 drawing program used in technical and academic workflows. The official installation page states that binary packages for xfig and fig2dev or transfig are available for Linux distributions, BSD systems, Darwin package systems including Fink, MacPorts, and Homebrew, and Cygwin on Windows.

The supplied package metadata shows the same broad packaging pattern: Homebrew, Debian, Ubuntu, Fedora-family packaging under transfig, MacPorts, Nix, Arch, Alpine, and openSUSE. That breadth reflects fig2dev's importance as infrastructure for converting legacy .fig drawings in reproducible document builds.

### Modes d'utilisation

Users normally encounter fig2dev when exporting or printing drawings made in xfig. The installation guide explains that xfig saves proprietary .fig files and fig2dev translates them to formats such as PostScript, PNG, JPEG, PSTricks, and TikZ.

For bitmap outputs, the README and installation guide both document fig2dev's dependency on helper tools: Ghostscript first renders PostScript, then netpbm, ImageMagick, or GraphicsMagick converts PPM output to final bitmap formats.

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

fig2dev is package-nerd significant because it preserves a durable bridge between an old X11 vector editor and modern document toolchains. It is the kind of utility that rarely gets attention until a build farm, LaTeX paper, man-page diagram, or legacy source tarball still depends on converting .fig files.

It is also a good example of package naming archaeology: many systems historically shipped the converter as transfig, while modern curation and upstream documentation distinguish fig2dev from the now-obsolete transfig command.

### Chronologie

- 1993: Transfig 2.1.8 appears in the CHANGES history.
- About 2016: Official installation docs say the package name moved from transfig to fig2dev.
- 2018: fig2dev 3.2.7 adds format help and input-sanitizing fixes.
- 2021: 3.2.8b adds stdin/stdout filename handling and more hardening.
- 2024: 3.2.9a adds PDF minor-version selection and width/height options.

### Related projects

- fig2dev is tightly coupled to xfig. It also depends on or cooperates with Ghostscript, netpbm, ImageMagick, GraphicsMagick, TeX, LaTeX, PSTricks, and TikZ workflows.

### Sources

- <https://sourceforge.net/p/mcj/fig2dev/ci/master/tree/README>
- <https://sourceforge.net/p/mcj/fig2dev/ci/master/tree/CHANGES>
- <https://mcj.sourceforge.net/installation.html>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - fig2dev - 1:3.2.9a-4: normalized package name match | Debian stable package indexes: fig2dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities for converting XFig figure files | https://sourceforge.net/projects/mcj/
- Nix - fig2dev: normalized package name match | nixpkgs package indexes: pkgs/by-name/fi/fig2dev/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fig2dev - 1:3.2.9-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fig2dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities for converting XFig figure files | https://sourceforge.net/projects/mcj/
- apk - fig2dev - 3.2.9a-r2: normalized package name match | Alpine Linux edge package indexes: fig2dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Translates Fig code to other graphic description languages | https://sourceforge.net/projects/mcj/
- apk - fig2dev-doc - 3.2.9a-r2: normalized package name match | Alpine Linux edge package indexes: fig2dev-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Translates Fig code to other graphic description languages (documentation) | https://sourceforge.net/projects/mcj/
- pacman - fig2dev - 3.2.9-2: normalized package name match | Arch Linux sync databases: fig2dev from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Format conversion utility that can be used with xfig | http://mcj.sourceforge.net/
- zypper - transfig - 3.2.9a-3.6: normalized package name match | openSUSE Tumbleweed package metadata: transfig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Graphic Converter | https://mcj.sourceforge.net/
- MacPorts - fig2dev: normalized package name match | MacPorts ports tree: print/fig2dev/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- dnf - transfig - 3.2.9a^20250619.ee3f4d8-9.fc45: installed executable or alias match | Fedora Rawhide package metadata: transfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility for converting FIG files (made by xfig) to other formats | https://sourceforge.net/projects/mcj/


## Combined YAML source

View the package source record on GitHub. [combined/fig2dev.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fig2dev.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
