Automic VaultAutomic Vault

brew

Installer cairo avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cairo pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install cairo

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install cairo

MacPorts ports tree · graphics/cairo/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add cairo

Alpine Linux edge package indexes · cairo · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install cairo

Fedora Rawhide package metadata · cairo · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#cairo

nixpkgs package indexes · pkgs/by-name/ca/cairo/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S cairo

Arch Linux sync databases · cairo · Source: geo.mirror.pkgbuild.com

Debian aptvérifié · 92%
sudo apt install libcairo-gobject2

Debian stable package indexes · libcairo-gobject2 · Source: deb.debian.org

openSUSE zyppervérifié · 92%
sudo zypper install cairo-devel

openSUSE Tumbleweed package metadata · cairo-devel · Source: download.opensuse.org

aperçu

Résumé du paquet

Vector graphics library with cross-device output support

Commandes et alias

  • cairo-trace

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2003: Xr-era cross-device vector rendering work precedes the cairo name.
  • 2005: cairo 1.0.0 released with a stable 1.x compatibility promise.
  • 2008: cairo 1.8.0 release appears in the official news archive.
  • 2018: cairo 1.16.0 released.
  • 2023: cairo 1.18.0 released.
  • 2025: cairo 1.18.4 released.

Related projects

  • pixman is the pixel-manipulation library used by cairo for image compositing.
  • Language bindings and adjacent projects include pycairo, cairomm, rcairo, cairo-perl, cairo-ocaml, and cairocffi.
  • GTK and other GUI toolkits use cairo as a drawing layer; cairo also targets document formats such as PDF, PostScript, and SVG.

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 11 dépendances d’exécution.
  • Les métadonnées de compilation listent 3 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
cairo-tracecliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire1.18.4
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://cairographics.org/

  • infoNo package-manager update timestamp was available.confiance faible
  • infoRelease/tag comparison is only available for GitHub repositories.https://cairographics.org/confiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:cairo
Version1.18.4
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/cairo
Page d'accueilhttps://cairographics.org/
Dépôthttps://gitlab.freedesktop.org/cairo/cairo
Docs amonthttps://www.cairographics.org/documentation
LicenceLGPL-2.1-only OR MPL-1.1
Archive sourcehttps://cairographics.org/releases/cairo-1.18.4.tar.xz
Dépendancesfontconfig, freetype, gettext, glib, libpng, libx11, libxcb, libxext, libxrender, lzo, pixman
Dépendances de compilationmeson, ninja, pkgconf
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

libcairo-gobject2 1.18.4-1+b1

Cairo 2D vector graphics library (GObject library)

https://cairographics.org/

sudo apt install libcairo-gobject2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcairo-gobject2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcairo-script-interpreter2 1.18.4-1+b1

Cairo 2D vector graphics library (script interpreter)

https://cairographics.org/

sudo apt install libcairo-script-interpreter2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcairo-script-interpreter2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcairo2 1.18.4-1+b1

Cairo 2D vector graphics library

https://cairographics.org/

sudo apt install libcairo2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 12 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcairo2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcairo2-dev 1.18.4-1+b1

Development files for the Cairo 2D graphics library

https://cairographics.org/

sudo apt install libcairo2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cairo
  • 15 Dépendances
  • 1 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cairo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcairo2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcairo2-doc 1.18.4-1

Documentation for the Cairo Multi-platform 2D graphics library

https://cairographics.org/

sudo apt install libcairo2-doc
  • Section: doc
  • Architecture: all
  • Source Package: cairo
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cairo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcairo2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cairo

nix profile install nixpkgs#cairo
  • normalized package name match
  • Correspondance par : Cairo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cairo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libcairo-gobject2 1.18.0-3build1

Cairo 2D vector graphics library (GObject library)

https://cairographics.org/

sudo apt install libcairo-gobject2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcairo-gobject2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcairo-script-interpreter2 1.18.0-3build1

Cairo 2D vector graphics library (script interpreter)

https://cairographics.org/

sudo apt install libcairo-script-interpreter2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 6 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcairo-script-interpreter2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcairo2 1.18.0-3build1

Cairo 2D vector graphics library

https://cairographics.org/

sudo apt install libcairo2
  • Section: libs
  • Architecture: amd64
  • Source Package: cairo
  • 12 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcairo2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcairo2-dev 1.18.0-3build1

Development files for the Cairo 2D graphics library

https://cairographics.org/

sudo apt install libcairo2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cairo
  • 15 Dépendances
  • 1 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cairo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcairo2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libcairo2-doc 1.18.0-3build1

Documentation for the Cairo Multi-platform 2D graphics library

https://cairographics.org/

sudo apt install libcairo2-doc
  • Section: libs
  • Architecture: all
  • Source Package: cairo
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cairo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcairo2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

cairo 1.18.4-r1

A vector graphics library

https://cairographics.org/

sudo apk add cairo
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: cairo
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cairo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cairo from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cairo-dbg 1.18.4-r1

A vector graphics library (debug symbols)

https://cairographics.org/

sudo apk add cairo-dbg
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: cairo
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Cairo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cairo-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cairo-dev 1.18.4-r1

A vector graphics library (development files)

https://cairographics.org/

sudo apk add cairo-dev
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: cairo
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cairo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cairo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cairo-doc 1.18.4-r1

A vector graphics library (documentation)

https://cairographics.org/

sudo apk add cairo-doc
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: cairo
  • normalized package name match
  • Correspondance par : Cairo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cairo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cairo-gobject 1.18.4-r1

A vector graphics library (gobject bindings)

https://cairographics.org/

sudo apk add cairo-gobject
  • License: LGPL-2.1-or-later OR MPL-1.1
  • Architecture: x86_64
  • Source Package: cairo
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cairo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cairo-gobject from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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