# 使用 Homebrew, dnf 安装 libart

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

## 安装

```sh
sudo av install brew:libart
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libart
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install libart
```

  证据: Fedora Rawhide package metadata: libart from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libart
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libart>
- **版本:** 2.3.21
- **来源摘要:** Library for high-performance 2D graphics
- **主页:** <https://gitlab.gnome.org/Archive/libart_lgpl>
- **上游文档:** <https://levien.com/libart>
- **许可证:** LGPL-2.0-or-later
- **源码归档:** <https://download.gnome.org/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.bz2>
- **最后更新:** 2026-06-29T09:49:46Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- libart2-config (cli)
- libart2-config (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.3.21
- 管理器更新时间: 2026-06-29
- 本地数据: OK
- 上游仓库: https://gitlab.gnome.org/Archive/libart_lgpl
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Libart is Raph Levien's small, optimized C library for antialiased 2D vector graphics. Its upstream page describes it as the rendering engine for GNOME Canvas and Gill, with an imaging model close to SVG, Java 2D, and PostScript plus antialiasing and alpha compositing.

### 项目历史

Libart grew out of the late-1990s GNOME graphics stack, where GNOME needed a structured canvas and antialiased vector rendering before Cairo existed. Levien's project page says the source lived in GNOME CVS and that he owned the copyright to the code base, while GNOME distributed the LGPL-oriented libart_lgpl tarballs for use by desktop components.

The 2000 Freenix paper on GNOME Canvas documented a section called the Libart Imaging Model, showing how paths, sorted vector paths, antialiasing, stroking, raster images, and microtile arrays fit into the canvas update and rendering pipeline.

### 采用历史

Libart was adopted by GNOME Canvas, Gill, and other GNOME-era applications that needed vector drawing before newer 2D APIs became common. GNOME's source archive shows the libart_lgpl 2.3 release line continuing through 2.3.21 on 2010-04-01, which is why package managers still carry it mostly for older software compatibility.

### 使用方式

The library is used by C and C++ programs that need low-level vector path rendering, Bezier and vector path data structures, alpha compositing, affine transforms, and region/microtile calculations. On Unix packages, the small `libart2-config` helper exposed compiler and linker flags to dependent builds.

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

Libart is a classic compatibility package: small, old, and mostly invisible until some older GNOME, graphics, or document-rendering dependency asks for it. It marks the pre-Cairo period of Linux desktop graphics and still shows up in package graphs as `libart_lgpl` or `libart`.

### 时间线

- 2000: GNOME Canvas Freenix paper documents the Libart Imaging Model.
- 2001: GNOME source archive lists libart_lgpl 2.3.5 tarballs.
- 2010: GNOME source archive publishes libart_lgpl 2.3.21.

### Related projects

- GNOME Canvas, Gill, SVG, Java 2D, PostScript, Cairo, and older GNOME graphics applications are the main historical neighbors.

### 来源

- <https://download.gnome.org/sources/libart_lgpl/2.3/>
- <https://levien.com/libart/>
- <https://levien.com/libart/vpath.html>
- <https://static.usenix.org/event/usenix2000/freenix/full_papers/quintero/quintero_html/fmq-usenix-2000.html>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libart
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- dnf - libart - 0-12.20210723git3010468.fc44: normalized package name match | Fedora Rawhide package metadata: libart from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Adaptive Radix Trees implemented in C | https://github.com/armon/libart
- dnf - libart-devel - 0-12.20210723git3010468.fc44: normalized package name match | Fedora Rawhide package metadata: libart-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libart | https://github.com/armon/libart


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [cairo](https://www.automicvault.com/zh-hans/pkg/brew/cairo/) - Shares av.db curated category or tags: 2d-graphics, cli, media, rendering, vector-graphics.
- [fdk-aac](https://www.automicvault.com/zh-hans/pkg/brew/fdk-aac/) - Shares av.db curated category or tags: c, cli, library, media.
- [freealut](https://www.automicvault.com/zh-hans/pkg/brew/freealut/) - Shares av.db curated category or tags: c, cli, library, media.
- [gd](https://www.automicvault.com/zh-hans/pkg/brew/gd/) - Shares av.db curated category or tags: c, cli, library, media.
- [id3lib](https://www.automicvault.com/zh-hans/pkg/brew/id3lib/) - Shares av.db curated category or tags: c, cli, library, media.
- [imlib2](https://www.automicvault.com/zh-hans/pkg/brew/imlib2/) - Shares av.db curated category or tags: c, cli, library, media, rendering.
- [jasper](https://www.automicvault.com/zh-hans/pkg/brew/jasper/) - Shares av.db curated category or tags: c, cli, library, media.
- [libdca](https://www.automicvault.com/zh-hans/pkg/brew/libdca/) - Shares av.db curated category or tags: c, cli, library, media.
- [open-image-denoise](https://www.automicvault.com/zh-hans/pkg/brew/open-image-denoise/) - Local package facts share a topical domain. Shared terms: cli, high, high-performance, library, media.
- [react-native-nano-icons](https://www.automicvault.com/zh-hans/pkg/npm/react-native-nano-icons/) - Local package facts share a topical domain. Shared terms: cli, config, graphics, high, high-performance.

## Combined YAML source

View the package source record on GitHub. [combined/libart.yml](https://github.com/automic-vault/db/blob/main/combined/libart.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
