Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fig2dev

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fig2dev

MacPorts ports tree · print/fig2dev/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S fig2dev

Arch Linux sync databases · fig2dev · 来源: geo.mirror.pkgbuild.com

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

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

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

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

概览

软件包摘要

Translates figures generated by xfig to other formats

命令和别名

  • fig2dev
  • fig2ps2tex
  • pic2tpic
  • transfig

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fig2devcli全局可执行文件
fig2ps2texcli全局可执行文件
pic2tpiccli全局可执行文件
transfigcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://mcj.sourceforge.net/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://mcj.sourceforge.net/none 置信度

安装元数据

软件包元数据

软件包键brew:fig2dev
版本3.2.9a
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fig2dev
主页https://mcj.sourceforge.net/
仓库https://sourceforge.net/p/mcj/fig2dev/ci/master/tree
上游文档https://mcj.sourceforge.net/installation.html
许可证MIT
源码归档https://downloads.sourceforge.net/project/mcj/fig2dev-3.2.9a.tar.xz
依赖ghostscript, libpng, netpbm
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

fig2dev 1:3.2.9a-4

Utilities for converting XFig figure files

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

sudo apt install fig2dev
  • Section: graphics
  • Architecture: amd64
  • 7 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Fig2dev
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fig2dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

fig2dev

nix profile install nixpkgs#fig2dev
  • normalized package name match
  • 匹配方式:Fig2dev
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fi/fig2dev/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

fig2dev 1:3.2.9-3build2

Utilities for converting XFig figure files

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

sudo apt install fig2dev
  • Section: universe/graphics
  • Architecture: amd64
  • 7 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Fig2dev
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fig2dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

fig2dev 3.2.9a-r1

translates Fig code to other graphic description languages

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

sudo apk add fig2dev
  • License: Xfig
  • Architecture: x86_64
  • Source Package: fig2dev
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fig2dev
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fig2dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

fig2dev-doc 3.2.9a-r1

translates Fig code to other graphic description languages (documentation)

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

sudo apk add fig2dev-doc
  • License: Xfig
  • Architecture: x86_64
  • Source Package: fig2dev
  • normalized package name match
  • 匹配方式:Fig2dev
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fig2dev-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

fig2dev 3.2.9-1

Format conversion utility that can be used with xfig

http://mcj.sourceforge.net/

sudo pacman -S fig2dev
  • License: Xfig
  • Architecture: x86_64
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fig2dev
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: fig2dev from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

transfig 3.2.9a-3.4

Graphic Converter

https://mcj.sourceforge.net/

sudo zypper install transfig
  • License: MIT
  • Category: Productivity/Graphics/Convertors
  • Architecture: x86_64
  • Source Package: transfig
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Fig2dev
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: transfig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

fig2dev

sudo port install fig2dev
  • normalized package name match
  • 匹配方式:Fig2dev
MacPorts ports tree · api.github.com · MacPorts ports tree: print/fig2dev/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
dnf92%

transfig 3.2.9a^20250619.ee3f4d8-8.fc44

Utility for converting FIG files (made by xfig) to other formats

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

sudo dnf install transfig
  • License: Xfig
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: transfig
  • 9 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Transfig
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: transfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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