# dpic を Homebrew, apt, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:dpic
```

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

### macOS

- Homebrew (100%):

```sh
brew install dpic
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install dpic
```

  証拠: Debian stable package indexes: dpic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#dpic
```

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

- zypper (92%):

```sh
sudo zypper install dpic
```

  証拠: openSUSE Tumbleweed package metadata: dpic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:dpic
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2025.08.01
- **ソース概要:** Implementation of the GNU pic "little language"
- **ホームページ:** <https://ece.uwaterloo.ca/~aplevich/dpic/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dpic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

dpic is J. D. Aplevich's implementation of the pic little language for line drawings and technical illustrations, with output backends for TeX-adjacent and graphics formats.

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

The official README describes dpic as an implementation of pic for creating line drawings and illustrations for documents, web pages, and other uses. The official distribution page points to source downloads and a GitLab repository, with the 2025.08.01 source date visible on the page.

The CHANGES file shows a major 2019 source-distribution shift: the previous distribution included compilable C code together with original Pascal source, while the newer package includes C source only with parsing automated by GNU bison. The note says the Pascal had been translated to C with p2c and that the change was intended to keep correct-input behavior functionally identical.

### 採用の歴史

dpic's adoption is specialized: it serves users of pic-style diagram source who want output for LaTeX picture, pict2e, TikZ-pgf, PSTricks, MetaPost, SVG, xfig, PDF, and PostScript workflows. Its packaging in Homebrew, Debian/Ubuntu, Nix, and openSUSE reflects a small but durable technical-documentation niche.

### 使われ方

Users pass an input file to dpic and redirect the selected output format, for example dpic -p quick.pic > quick.tex for PSTricks or dpic -g quick.pic > quick.tex for TikZ-pgf. The -z safe mode disables sh and copy behavior.

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

dpic is package-nerd significant because it keeps an old Unix documentation language useful in modern TeX and web-output pipelines. It is also a nice example of a tiny compiler-like tool whose packaging value is mostly compatibility: if a document build expects pic-derived diagrams, the right dpic backend matters more than novelty.

### タイムライン

- 2018: GitLab project metadata records the dpic repository creation.
- 2019: Major source-distribution change moved to C-only source with parsing automated by GNU bison.
- 2020-2024: CHANGES records portability, SVG, robustness, arrowhead, and text-offset fixes.
- 2025: Official distribution page lists source downloads for 2025.08.01.

### Related projects

- dpic is related to GNU pic/gpic, TeX and LaTeX picture workflows, pict2e, TikZ-pgf, PSTricks, mfpic, MetaPost, SVG, xfig, GNU bison, and the older p2c translation path mentioned in CHANGES.

### ソース

- <https://ece.uwaterloo.ca/~aplevich/dpic/ - official distribution page for source date, repository, downloads, and manual.>
- <https://ece.uwaterloo.ca/~aplevich/dpic/README - official README for purpose, usage, output formats, safe mode, and version model.>
- <https://ece.uwaterloo.ca/~aplevich/dpic/CHANGES - official change history for 2019-2025 project milestones.>
- <https://gitlab.com/api/v4/projects/aplevich%2Fdpic - official GitLab project metadata.>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - dpic - 2023.06.01-1: normalized package name match | Debian stable package indexes: dpic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pic-language converter to LaTeX-compatible and other formats | https://ece.uwaterloo.ca/~aplevich/dpic/
- Nix - dpic: normalized package name match | nixpkgs package indexes: pkgs/by-name/dp/dpic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dpic - 2023.06.01-1: normalized package name match | Ubuntu 24.04 LTS package indexes: dpic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pic-language converter to LaTeX-compatible and other formats | https://ece.uwaterloo.ca/~aplevich/dpic/
- zypper - dpic - 2025.08.01-1.3: normalized package name match | openSUSE Tumbleweed package metadata: dpic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Pic language processor | https://ece.uwaterloo.ca/~aplevich/dpic/
- zypper - dpic-doc - 2025.08.01-1.3: normalized package name match | openSUSE Tumbleweed package metadata: dpic-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for dpic | https://ece.uwaterloo.ca/~aplevich/dpic/


## Combined YAML source

View the package source record on GitHub. [combined/dpic.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dpic.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
