macOS
brew install xfiglocal Homebrew formula metadata
sudo port install xfigMacPorts ports tree · graphics/xfig/Portfile · 来源: api.github.com
安装
brew install xfiglocal Homebrew formula metadata
sudo port install xfigMacPorts ports tree · graphics/xfig/Portfile · 来源: api.github.com
sudo apk add xfigAlpine Linux edge package indexes · xfig · 来源: dl-cdn.alpinelinux.org
sudo dnf install xfigFedora Rawhide package metadata · xfig · 来源: dl.fedoraproject.org
nix profile install nixpkgs#xfignixpkgs package indexes · pkgs/by-name/xf/xfig/package.nix · 来源: api.github.com
sudo zypper install xfigopenSUSE Tumbleweed package metadata · xfig · 来源: download.opensuse.org
概览
Facility for interactive generation of figures
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xfig | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xfig |
|---|---|
| 版本 | 3.2.9a |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xfig |
| 主页 | https://mcj.sourceforge.net/ |
| 仓库 | https://sourceforge.net/p/mcj/xfig/ci/master/tree |
| 上游文档 | https://mcj.sourceforge.net/ |
| 许可证 | MIT |
| 源码归档 | https://downloads.sourceforge.net/mcj/xfig-3.2.9a.tar.xz |
| 最后更新 | 2026-06-25T13:38:12+02:00 |
| Pulse | updated |
| 依赖 | fig2dev, fontconfig, freetype, ghostscript, jpeg-turbo, libpng, libtiff, libx11, libxaw3d, libxft, libxpm, libxt |
| 构建依赖 | gnu-sed |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 xfig来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.