macOS
brew install cairolocal Homebrew formula metadata
sudo port install cairoMacPorts ports tree · graphics/cairo/Portfile · ソース: api.github.com
brew
cairo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cairolocal Homebrew formula metadata
sudo port install cairoMacPorts ports tree · graphics/cairo/Portfile · ソース: api.github.com
sudo apk add cairoAlpine Linux edge package indexes · cairo · ソース: dl-cdn.alpinelinux.org
sudo dnf install cairoFedora Rawhide package metadata · cairo · ソース: dl.fedoraproject.org
nix profile install nixpkgs#caironixpkgs package indexes · pkgs/by-name/ca/cairo/package.nix · ソース: api.github.com
sudo pacman -S cairoArch Linux sync databases · cairo · ソース: geo.mirror.pkgbuild.com
sudo apt install libcairo-gobject2Debian stable package indexes · libcairo-gobject2 · ソース: deb.debian.org
sudo zypper install cairo-developenSUSE Tumbleweed package metadata · cairo-devel · ソース: download.opensuse.org
概要
Vector graphics library with cross-device output support
履歴
Cairo is a C 2D graphics library that provides a PostScript/PDF-like drawing API over multiple output backends, including X11, XCB, Quartz, Win32, image buffers, PDF, PostScript, and SVG.
The official repository README says cairo was originally developed by Carl Worth and Keith Packard. Cairo's early identity was a cross-device vector rendering library: the documentation archive points to a 2003 paper under the earlier Xr name and later cairo presentations from 2005.
The 1.0.0 release announcement on 2005-08-24 marked the stable API/ABI line for 1.x.y releases. At that point xlib, image, and win32 were supported backends, while Glitz, PostScript, PDF, Quartz, and XCB were experimental. Modern project documentation lists a wider set of supported targets, including PDF, PostScript, SVG, Quartz, Win32, Xlib, and XCB.
Cairo is tied closely to pixman for pixel compositing and to desktop text/rendering stacks through fontconfig, FreeType, platform font backends, and toolkit bindings. The project continues to publish releases through cairographics.org, with the official news page listing releases up to 1.18.4 in 2025.
Cairo became infrastructure rather than an end-user app. The official bindings page lists bindings for languages including C++, Haskell, Java, Perl, PHP, Python, Ruby, and others, and notes toolkit integration such as GTK+ 2.8+ support. That binding and toolkit spread made cairo a common dependency in Linux desktop, document, plotting, and image-generation software.
Package-manager adoption is broad: the input facts list Cairo across Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE-style packaging. That breadth reflects cairo's role as a shared graphics primitive for higher-level applications.
Developers use cairo to draw vector graphics, text, paths, patterns, and transformed/composited images to screen and file surfaces. Common package builds enable image, PNG, PDF, PostScript, SVG, Xlib, XCB, FreeType, fontconfig, Quartz, or Windows backends depending on platform needs.
The Homebrew package exposes cairo-trace, but most users consume cairo as a library dependency through headers, pkg-config metadata, and language bindings.
Cairo is one of those packages that explains why dependency graphs get deep: a small API surface at the application level hides years of rendering, font, backend, and platform compatibility work. For package nerds it is a foundational desktop graphics dependency, sitting between low-level raster compositing in pixman and higher-level toolkits, browsers, plotting libraries, and document renderers.
Its dual LGPL/MPL licensing, stable 1.x compatibility promise, backend matrix, and language bindings made it unusually reusable across open-source desktop stacks and proprietary-friendly distribution scenarios.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cairo-trace | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:cairo |
|---|---|
| バージョン | 1.18.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cairo |
| ホームページ | https://cairographics.org/ |
| リポジトリ | https://gitlab.freedesktop.org/cairo/cairo |
| 上流ドキュメント | https://www.cairographics.org/documentation |
| ライセンス | LGPL-2.1-only OR MPL-1.1 |
| ソースアーカイブ | https://cairographics.org/releases/cairo-1.18.4.tar.xz |
| 依存関係 | fontconfig, freetype, gettext, glib, libpng, libx11, libxcb, libxext, libxrender, lzo, pixman |
| ビルド依存関係 | meson, ninja, pkgconf |
| 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 | cairo |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libcairo-gobject2 1.18.4-1+b1
Cairo 2D vector graphics library (GObject library)
sudo apt install libcairo-gobject2libcairo-script-interpreter2 1.18.4-1+b1
Cairo 2D vector graphics library (script interpreter)
sudo apt install libcairo-script-interpreter2libcairo2 1.18.4-1+b1
Cairo 2D vector graphics library
sudo apt install libcairo2libcairo2-dev 1.18.4-1+b1
Development files for the Cairo 2D graphics library
sudo apt install libcairo2-devlibcairo2-doc 1.18.4-1
Documentation for the Cairo Multi-platform 2D graphics library
sudo apt install libcairo2-doccairo
nix profile install nixpkgs#cairolibcairo-gobject2 1.18.0-3build1
Cairo 2D vector graphics library (GObject library)
sudo apt install libcairo-gobject2libcairo-script-interpreter2 1.18.0-3build1
Cairo 2D vector graphics library (script interpreter)
sudo apt install libcairo-script-interpreter2libcairo2 1.18.0-3build1
Cairo 2D vector graphics library
sudo apt install libcairo2libcairo2-dev 1.18.0-3build1
Development files for the Cairo 2D graphics library
sudo apt install libcairo2-devlibcairo2-doc 1.18.0-3build1
Documentation for the Cairo Multi-platform 2D graphics library
sudo apt install libcairo2-doccairo 1.18.4-r1
A vector graphics library
sudo apk add cairocairo-dbg 1.18.4-r1
A vector graphics library (debug symbols)
sudo apk add cairo-dbgcairo-dev 1.18.4-r1
A vector graphics library (development files)
sudo apk add cairo-devcairo-doc 1.18.4-r1
A vector graphics library (documentation)
sudo apk add cairo-doccairo-gobject 1.18.4-r1
A vector graphics library (gobject bindings)
sudo apk add cairo-gobjectソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.