# svg2pdf を Homebrew, Nix でインストール

svg2pdf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:svg2pdf
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install svg2pdf
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#svg2pdf
```

  証拠: nixpkgs package indexes: pkgs/by-name/sv/svg2pdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:svg2pdf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.1.3
- **ソース概要:** Renders SVG images to a PDF file (using Cairo)
- **ホームページ:** <https://cairographics.org/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- svg2pdf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.1.3
## プロジェクトの歴史と使われ方

svg2pdf is a tiny command-line SVG-to-PDF converter built around librsvg and Cairo. Its upstream history is short, but it is representative of small Unix graphics utilities that survive because they do one conversion job cleanly in scripts.

### プロジェクトの歴史

The official freedesktop cgit summary describes svg2pdf as a simple demo showing how to use librsvg and Cairo to render SVG to PDF. The first commit, dated September 7, 2007, imported a small svg2pdf program rescued from cairo/test, where it was not being used and had been deleted.

The source file documents compilation with `pkg-config` against `librsvg-2.0` and `cairo-pdf`, accepts an input SVG and output PDF path, and renders through a Cairo PDF surface.

### 採用の歴史

svg2pdf appears as a small packaged utility rather than a large standalone project. The input package facts list Homebrew and Nix package names, matching its role as a convenient command-line wrapper around already-packaged graphics libraries.

### 使われ方

Usage is intentionally narrow: `svg2pdf input_file.svg output_file.pdf`. That simplicity makes it useful in build scripts, documentation pipelines, and packaging tests where a headless SVG-to-PDF conversion is enough.

### パッケージ好きにとっての重要性

Package nerds care about tools like svg2pdf because they are thin, inspectable glue over shared libraries. They exercise Cairo and librsvg availability, avoid GUI dependencies, and fit naturally into Makefiles and reproducible build steps.

### タイムライン

- 2007: svg2pdf is imported into freedesktop cgit from cairo/test.
- 2007: Follow-up commits add a Makefile, update licensing text, and remove forced white background painting.

### Related projects

- svg2pdf is closely related to Cairo, librsvg, cairo-pdf, cairo/test, and the sibling svg2png utility.

### ソース

- <https://cgit.freedesktop.org/~cworth/svg2pdf/>
- <https://cgit.freedesktop.org/~cworth/svg2pdf/commit/?id=a6c5d07827333b9b45af6bcc7b30855bdae677b7>
- <https://cgit.freedesktop.org/~cworth/svg2pdf/log/>
- <https://cgit.freedesktop.org/~cworth/svg2pdf/plain/svg2pdf.c>
- input source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - svg2pdf: normalized package name match | nixpkgs package indexes: pkgs/by-name/sv/svg2pdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/svg2pdf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/svg2pdf.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
