macOS
brew install fig2devlocal Homebrew formula metadata
sudo port install fig2devMacPorts ports tree · print/fig2dev/Portfile · 来源: api.github.com
安装
brew install fig2devlocal Homebrew formula metadata
sudo port install fig2devMacPorts ports tree · print/fig2dev/Portfile · 来源: api.github.com
sudo apk add fig2devAlpine Linux edge package indexes · fig2dev · 来源: dl-cdn.alpinelinux.org
sudo apt install fig2devDebian stable package indexes · fig2dev · 来源: deb.debian.org
nix profile install nixpkgs#fig2devnixpkgs package indexes · pkgs/by-name/fi/fig2dev/package.nix · 来源: api.github.com
sudo pacman -S fig2devArch Linux sync databases · fig2dev · 来源: geo.mirror.pkgbuild.com
sudo zypper install transfigopenSUSE Tumbleweed package metadata · transfig · 来源: download.opensuse.org
sudo dnf install transfigFedora Rawhide package metadata · transfig · 来源: dl.fedoraproject.org
概览
Translates figures generated by xfig to other formats
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fig2dev | cli | 全局可执行文件 | |
fig2ps2tex | cli | 全局可执行文件 | |
pic2tpic | cli | 全局可执行文件 | |
transfig | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fig2dev |
| 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 软件包链接分开显示。
fig2dev 1:3.2.9a-4
Utilities for converting XFig figure files
https://sourceforge.net/projects/mcj/
sudo apt install fig2devfig2dev
nix profile install nixpkgs#fig2devfig2dev 1:3.2.9-3build2
Utilities for converting XFig figure files
https://sourceforge.net/projects/mcj/
sudo apt install fig2devfig2dev 3.2.9a-r1
translates Fig code to other graphic description languages
https://sourceforge.net/projects/mcj/
sudo apk add fig2devfig2dev-doc 3.2.9a-r1
translates Fig code to other graphic description languages (documentation)
https://sourceforge.net/projects/mcj/
sudo apk add fig2dev-docfig2dev 3.2.9-1
Format conversion utility that can be used with xfig
sudo pacman -S fig2devtransfig 3.2.9a-3.4
Graphic Converter
sudo zypper install transfigfig2dev
sudo port install fig2devtransfig 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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.