Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 xfig

查看 xfig 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xfig

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xfig

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xfig

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

Debian apt已验证 · 92%
sudo apt install xfig

Debian stable package indexes · xfig · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install xfig

Fedora Rawhide package metadata · xfig · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#xfig

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

openSUSE zypper已验证 · 92%
sudo zypper install xfig

openSUSE Tumbleweed package metadata · xfig · 来源: download.opensuse.org

概览

软件包摘要

Facility for interactive generation of figures

命令和别名

  • xfig

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 12 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xfigcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.2.9a
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://mcj.sourceforge.net/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 8 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 8 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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