macOS
brew install xfiglocal Homebrew formula metadata
sudo port install xfigMacPorts ports tree · graphics/xfig/Portfile · source: api.github.com
brew
Facility for interactive generation of figures. Version 3.2.9a via Homebrew; verified 2026-06-25.
install
brew install xfiglocal Homebrew formula metadata
sudo port install xfigMacPorts ports tree · graphics/xfig/Portfile · source: api.github.com
sudo apk add xfigAlpine Linux edge package indexes · xfig · source: dl-cdn.alpinelinux.org
sudo apt install xfigDebian stable package indexes · xfig · source: deb.debian.org
sudo dnf install xfigFedora Rawhide package metadata · xfig · source: dl.fedoraproject.org
nix profile install nixpkgs#xfignixpkgs package indexes · pkgs/by-name/xf/xfig/package.nix · source: api.github.com
sudo zypper install xfigopenSUSE Tumbleweed package metadata · xfig · source: download.opensuse.org
overview
Facility for interactive generation of figures
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xfig | cli | global executable |
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.
install metadata
| Package key | brew:xfig |
|---|---|
| Version | 3.2.9a |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xfig |
| Homepage | https://mcj.sourceforge.net/ |
| Repository | https://sourceforge.net/p/mcj/xfig/ci/master/tree |
| Upstream docs | https://mcj.sourceforge.net/ |
| License | MIT |
| Source archive | https://downloads.sourceforge.net/mcj/xfig-3.2.9a.tar.xz |
| Last updated | 2026-06-25T13:38:12+02:00 |
| Pulse | updated |
| Dependencies | fig2dev, fontconfig, freetype, ghostscript, jpeg-turbo, libpng, libtiff, libx11, libxaw3d, libxft, libxpm, libxt |
| Build dependencies | gnu-sed |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xfig |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xfig 1:3.2.9a-3
Facility for Interactive Generation of figures under X11
https://sourceforge.net/projects/mcj/
sudo apt install xfigxfig-doc 1:3.2.9a-3
XFig on-line documentation and examples
https://sourceforge.net/projects/mcj/
sudo apt install xfig-docxfig-libs 1:3.2.9a-3
XFig image libraries and examples
https://sourceforge.net/projects/mcj/
sudo apt install xfig-libsxfig
nix profile install nixpkgs#xfigxfig 1:3.2.9-2build3
Facility for Interactive Generation of figures under X11
https://sourceforge.net/projects/mcj/
sudo apt install xfigxfig-doc 1:3.2.9-2build3
XFig on-line documentation and examples
https://sourceforge.net/projects/mcj/
sudo apt install xfig-docxfig-libs 1:3.2.9-2build3
XFig image libraries and examples
https://sourceforge.net/projects/mcj/
sudo apt install xfig-libsxfig 3.2.9a-r1
Interactive drawing tool which runs under X Window System
sudo apk add xfigxfig-doc 3.2.9a-r1
Interactive drawing tool which runs under X Window System (documentation)
sudo apk add xfig-docxfig 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 xfigxfig 3.2.9a-2.4
Facility for Interactive Generation of Figures under the X Window System
https://sourceforge.net/projects/mcj/
sudo zypper install xfigxfig
sudo port install xfigsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.