Automic VaultAutomic Vault

brew

Install xfig with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Facility for interactive generation of figures. Version 3.2.9a via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xfig

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xfig

MacPorts ports tree · graphics/xfig/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xfig

Alpine Linux edge package indexes · xfig · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install xfig

Debian stable package indexes · xfig · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install xfig

Fedora Rawhide package metadata · xfig · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xfig

nixpkgs package indexes · pkgs/by-name/xf/xfig/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install xfig

openSUSE Tumbleweed package metadata · xfig · source: download.opensuse.org

overview

Package summary

Facility for interactive generation of figures

Commands and aliases

  • xfig

history

Project history and usage

Xfig is a long-running interactive vector drawing program for the X Window System. Its package niche is not desktop publishing in general, but Unix diagramming: users draw in the plain-text Fig format, then use fig2dev, formerly TransFig, to export figures into PostScript, PDF, bitmap formats, LaTeX-family formats such as PSTricks and TikZ, and other technical-documentation targets.

Project history

The official Fig format documentation preserves Xfig's early authorship trail: FIG began in 1985 with Supoj Sutanthavibul, Brian V. Smith is credited for parts from 1989 onward, and Paul King for parts in 1991. That lineage fits Xfig's place as a classic X11 application: a mouse-driven Athena-widget-era drawing editor that survived because it produced useful technical diagrams in a scriptable, inspectable file format.

Xfig evolved with its file format and export pipeline. Fig format 3.2 added header fields such as paper size, magnification, multiple-page state, and transparent GIF color, and replaced older spline models with X-splines based on the SIGGRAPH 1995 spline model. Later user-visible evolution included autoconf-based builds, PDF and TikZ export workflows through fig2dev, embedded PDF/image handling, and Unicode-oriented text work in the 3.2.9 line.

Adoption history

Xfig became common in Unix and scientific communities because it sat between hand drawing and document build systems. The manual describes availability as pre-built packages across Linux distributions, BSDs, Darwin packaging systems, Cygwin, and Homebrew-era macOS, which is exactly the adoption pattern of old X11 tools that remain useful to technical users.

Its adoption is also visible in the surrounding ecosystem. The official installation page lists tools that read or write Fig files, including gnuplot, pstoedit, hp2xx, plotutils, and specialized utilities. That made the Fig format a practical interchange format for plots, diagrams, schematics, and document figures even when Xfig itself was only one step in the workflow.

How it is used

Typical use is interactive: run `xfig`, draw lines, boxes, splines, text, imported images, layers, and symbols, then save a `.fig` file. Export and print workflows rely on fig2dev, either invoked from Xfig or run separately, to produce formats suitable for papers, manuals, slides, web images, and TeX documents.

Package-manager users still care about Xfig because it is small, local, and file-oriented. A `.fig` file is text, easy to version, and easier to regenerate than a binary drawing document. For old papers, lab notes, network diagrams, and LaTeX projects, installing Xfig plus fig2dev is often the shortest path to opening or rebuilding legacy figures.

Why package nerds care

Xfig is package-nerd archaeology with practical teeth: an X11 GUI whose real contract is a durable file format and converter backend. It demonstrates how a graphical Unix program can remain package-worthy for decades when its files are text, its exporters are command-line friendly, and its output plugs into documentation toolchains.

It is also a reminder that GUI packages can be infrastructure. Downstream packages and users often need Xfig not for everyday drawing, but because a source tree, thesis, or engineering archive contains `.fig` files that must still render correctly.

Timeline

  • 1985: FIG begins with Supoj Sutanthavibul, according to the official Fig format copyright notice.
  • 1989: Brian V. Smith begins contributing parts of Xfig, as recorded in the official format documentation.
  • 1991: Paul King contributes parts of the program, also recorded in the official format documentation.
  • 1995: Fig 3.2 adopts X-splines, citing the SIGGRAPH 1995 X-splines paper.
  • About 2016: the export companion package name changes from TransFig to fig2dev in the official installation guidance.
  • 3.2.9 era: Xfig adds more modern text handling, including UTF-8 internal text for Fig files and anti-aliased canvas fonts.

Related projects

  • fig2dev, formerly TransFig, is the converter backend that makes Xfig useful for print, bitmap, PDF, and TeX-oriented output.
  • gnuplot, pstoedit, hp2xx, and GNU plotutils are related because they can produce, consume, or convert Fig-oriented technical graphics.
  • Tgif, Ipe, and WinFIG occupy nearby territory as vector drawing tools for technical diagrams, X11-style workflows, or Fig-compatible editing.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 12 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
xfigcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.2.9a
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://mcj.sourceforge.net/

install metadata

Package metadata

Package keybrew:xfig
Version3.2.9a
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xfig
Homepagehttps://mcj.sourceforge.net/
Repositoryhttps://sourceforge.net/p/mcj/xfig/ci/master/tree
Upstream docshttps://mcj.sourceforge.net/
LicenseMIT
Source archivehttps://downloads.sourceforge.net/mcj/xfig-3.2.9a.tar.xz
Last updated2026-06-25T13:38:12+02:00
Pulseupdated
Dependenciesfig2dev, fontconfig, freetype, ghostscript, jpeg-turbo, libpng, libtiff, libx11, libxaw3d, libxft, libxpm, libxt
Build dependenciesgnu-sed
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexfig
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

xfig 1:3.2.9a-3

Facility for Interactive Generation of figures under X11

https://sourceforge.net/projects/mcj/

sudo apt install xfig
  • Section: graphics
  • Architecture: amd64
  • 15 dependencies
  • 8 optional deps
  • normalized package name match
  • Matched by: Xfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

xfig-doc 1:3.2.9a-3

XFig on-line documentation and examples

https://sourceforge.net/projects/mcj/

sudo apt install xfig-doc
  • Section: doc
  • Architecture: all
  • Source Package: xfig
  • 5 optional deps
  • normalized package name match
  • Matched by: Xfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xfig-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

xfig-libs 1:3.2.9a-3

XFig image libraries and examples

https://sourceforge.net/projects/mcj/

sudo apt install xfig-libs
  • Section: graphics
  • Architecture: all
  • Source Package: xfig
  • 1 optional deps
  • normalized package name match
  • Matched by: Xfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xfig-libs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xfig

nix profile install nixpkgs#xfig
  • normalized package name match
  • Matched by: Xfig
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xf/xfig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xfig 1:3.2.9-2build3

Facility for Interactive Generation of figures under X11

https://sourceforge.net/projects/mcj/

sudo apt install xfig
  • Section: universe/graphics
  • Architecture: amd64
  • 15 dependencies
  • 8 optional deps
  • normalized package name match
  • Matched by: Xfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xfig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

xfig-doc 1:3.2.9-2build3

XFig on-line documentation and examples

https://sourceforge.net/projects/mcj/

sudo apt install xfig-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: xfig
  • 5 optional deps
  • normalized package name match
  • Matched by: Xfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xfig-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

xfig-libs 1:3.2.9-2build3

XFig image libraries and examples

https://sourceforge.net/projects/mcj/

sudo apt install xfig-libs
  • Section: universe/graphics
  • Architecture: all
  • Source Package: xfig
  • 1 optional deps
  • normalized package name match
  • Matched by: Xfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xfig-libs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xfig 3.2.9a-r1

Interactive drawing tool which runs under X Window System

https://mcj.sourceforge.net/

sudo apk add xfig
  • License: Xfig
  • Architecture: x86_64
  • Source Package: xfig
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xfig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xfig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xfig-doc 3.2.9a-r1

Interactive drawing tool which runs under X Window System (documentation)

https://mcj.sourceforge.net/

sudo apk add xfig-doc
  • License: Xfig
  • Architecture: x86_64
  • Source Package: xfig
  • normalized package name match
  • Matched by: Xfig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xfig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xfig 3.2.9a-1.20250317gitce9782a.fc43

An X Window System tool for drawing basic vector graphics

https://en.wikipedia.org/wiki/Xfig

sudo dnf install xfig
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xfig
  • 16 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: Xfig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xfig 3.2.9a-2.4

Facility for Interactive Generation of Figures under the X Window System

https://sourceforge.net/projects/mcj/

sudo zypper install xfig
  • License: MIT
  • Category: Productivity/Graphics/Vector Editors
  • Architecture: x86_64
  • Source Package: xfig
  • 21 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Xfig
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xfig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xfig

sudo port install xfig
  • normalized package name match
  • Matched by: Xfig
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/xfig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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