Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, apt, zypper 安装 batik

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install batik

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install batik

MacPorts ports tree · java/batik/Portfile · 来源: api.github.com

Linux

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

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

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

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

Debian apt已验证 · 92%
sudo apt install libbatik-java

Debian stable package indexes · libbatik-java · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install xmlgraphics-batik

openSUSE Tumbleweed package metadata · xmlgraphics-batik · 来源: download.opensuse.org

概览

软件包摘要

Java-based toolkit for SVG images

命令和别名

  • batik-rasterizer
  • batik-slideshow
  • batik-squiggle
  • batik-svgpp
  • batik-ttf2svg

历史

项目历史与用法

Apache Batik is a long-running Java toolkit for rendering, generating, manipulating, viewing, and transcoding SVG. In package-manager terms it is both a library stack and a set of command-line tools such as the rasterizer, Squiggle SVG browser, SVG pretty-printer, and TTF-to-SVG converter.

项目历史

Batik emerged during the early SVG standardization era. A W3C www-svg mailing-list announcement from December 4, 2000 announced the beta release of Batik 1.0 as an Apache Batik team project and described it as a Java 2D based SVG toolkit.

The current Apache project page describes the same core ambition: provide reusable Java modules for SVG parsing, generation, DOM support, viewing, scripting, and transcoding, plus a full SVG browser implementation to validate interoperability.

Batik remains part of Apache XML Graphics. Its GitHub repository is an Apache mirror for the official project, while the canonical documentation and release news live under xmlgraphics.apache.org.

采用历史

Batik has persisted because SVG rendering and conversion are infrastructure needs. The Apache site explicitly points to real-life projects and products using Batik, and package metadata shows it shipped through Homebrew, Debian and Ubuntu as libbatik-java, Fedora, MacPorts, Nix, and openSUSE.

Recent Apache news shows active maintenance through version 1.19 on May 6, 2025, following 1.18 in 2024 and earlier bug-fix and security releases.

使用方式

Developers use Batik from Java applications to parse, render, generate, manipulate, and transcode SVG, including server-side conversion to formats such as PNG, JPEG, TIFF, EPS, and PDF when paired with related Apache components.

CLI users encounter it through tools such as batik-rasterizer, batik-squiggle, batik-svgpp, batik-slideshow, and batik-ttf2svg.

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

Batik is important package-manager archaeology: a pre-Rust, pre-Go, Java-era graphics toolkit that still matters because SVG conversion has long tails in build systems, documentation pipelines, desktop Java applications, and distribution repositories.

It is also a reminder that command-line packages can be wrappers around substantial library ecosystems. Installing batik pulls in decades of XML, SVG, Java2D, and Apache XML Graphics history, not just one executable.

时间线

  • 2000: Batik 1.0 beta announced on the W3C www-svg mailing list.
  • 2020: Apache Batik 1.13 released as a bug-fix release.
  • 2022: Apache Batik 1.15 and 1.16 released with security fixes noted in project news.
  • 2024: Apache Batik 1.18 released.
  • 2025: Apache Batik 1.19 released as a bug-fix release.

Related projects

  • Apache XML Graphics is Batik's project family.
  • Apache FOP is related through vector/PDF transcoding support noted by the Batik site.
  • W3C SVG is the specification family Batik implements.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:image

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.batik/preferences.xml~/.batik/__svgbrowser.policy

可执行文件

已安装的可执行文件

命令类型暴露范围备注
batik-rasterizercli全局可执行文件
batik-slideshowcli全局可执行文件
batik-squigglecli全局可执行文件
batik-svgppcli全局可执行文件
batik-ttf2svgcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://xmlgraphics.apache.org/batik/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://xmlgraphics.apache.org/batik/none 置信度

安装元数据

软件包元数据

软件包键brew:batik
版本1.19
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/batik
主页https://xmlgraphics.apache.org/batik/
仓库https://github.com/apache/xmlgraphics-batik
上游文档https://xmlgraphics.apache.org/batik
许可证Apache-2.0
源码归档https://www.apache.org/dyn/closer.lua?path=xmlgraphics/batik/binaries/batik-bin-1.19.tar.gz
依赖openjdk
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libbatik-java 1.18+dfsg-2

xml.apache.org SVG Library

https://xmlgraphics.apache.org/batik/

sudo apt install libbatik-java
  • Section: java
  • Architecture: all
  • Source Package: batik
  • 5 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Batik
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbatik-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

batik

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

libbatik-java 1.17+dfsg-1

xml.apache.org SVG Library

https://xmlgraphics.apache.org/batik/

sudo apt install libbatik-java
  • Section: universe/libs
  • Architecture: all
  • Source Package: batik
  • 4 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Batik
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbatik-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

batik 1.19-3.fc44

Scalable Vector Graphics for Java

https://xmlgraphics.apache.org/batik/

sudo dnf install batik
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-css 1.19-3.fc44

Batik CSS engine

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-css
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-css from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-demo 1.19-3.fc44

Samples for batik

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-demo
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-demo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-javadoc 1.19-3.fc44

Javadoc for batik

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-javadoc
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-javadoc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-rasterizer 1.19-3.fc44

Batik SVG rasterizer

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-rasterizer
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-rasterizer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-slideshow 1.19-3.fc44

Batik SVG slideshow

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-slideshow
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-slideshow from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-squiggle 1.19-3.fc44

Batik SVG browser

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-squiggle
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-squiggle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-svgpp 1.19-3.fc44

Batik SVG pretty printer

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-svgpp
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-svgpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-ttf2svg 1.19-3.fc44

Batik SVG font converter

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-ttf2svg
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-ttf2svg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

batik-util 1.19-3.fc44

Batik utility library

https://xmlgraphics.apache.org/batik/

sudo dnf install batik-util
  • License: Apache-2.0 AND W3C
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: batik
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Batik
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: batik-util from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xmlgraphics-batik 1.18-1.5

Scalable Vector Graphics for Java

https://xml.apache.org/batik/

sudo zypper install xmlgraphics-batik
  • License: Apache-2.0
  • Category: Productivity/Graphics/Vector Editors
  • Architecture: noarch
  • Source Package: xmlgraphics-batik
  • 4 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Batik
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xmlgraphics-batik from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

batik

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

xmlgraphics-batik-rasterizer 1.18-1.5

Batik SVG rasterizer

https://xml.apache.org/batik/

sudo zypper install xmlgraphics-batik-rasterizer
  • License: Apache-2.0
  • Category: Productivity/Graphics/Vector Editors
  • Architecture: noarch
  • Source Package: xmlgraphics-batik
  • 9 依赖
  • 5 提供
  • installed executable or alias match
  • 匹配方式:Batik Rasterizer
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xmlgraphics-batik-rasterizer from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment