# gnu-barcode を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:gnu-barcode
```

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

### macOS

- Homebrew (100%):

```sh
brew install gnu-barcode
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install barcode
```

  証拠: MacPorts ports tree: textproc/barcode/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add barcode
```

  証拠: Alpine Linux edge package indexes: barcode from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install barcode
```

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

- dnf (92%):

```sh
sudo dnf install barcode
```

  証拠: Fedora Rawhide package metadata: barcode from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#barcode
```

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

- pacman (92%):

```sh
sudo pacman -S barcode
```

  証拠: Arch Linux sync databases: barcode from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install barcode
```

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

## パッケージ情報

- **パッケージキー:** brew:gnu-barcode
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.99
- **ソース概要:** Convert text strings to printed bars
- **ホームページ:** <https://www.gnu.org/software/barcode/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- barcode (エイリアス)
- sample (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

GNU Barcode is a GNU command-line tool and library for turning text strings into printable barcode output, originally centered on PostScript and Encapsulated PostScript and later extended with output formats such as SVG and PCL.

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

The project was authored and maintained in the GNU ecosystem by Alessandro Rubini. Its README describes a package built to cover common barcode creation needs with a conventional printer, shipping both a library and a command-line front end so applications and scripts can generate barcode symbols.

The 0.99 NEWS entry records later maintenance work including internationalization, GPLv3-or-later licensing, SVG support, and PCL output. That makes GNU Barcode a small but durable example of GNU's printer-and-text utility culture.

### 採用の歴史

GNU Barcode's upstream README notes distribution through ftp.gnu.org and GNU mirrors, a Windows port through GnuWin32, FreeBSD ports packaging, and downstream use by GLabels. Its adoption pattern is therefore typical of focused Unix utilities: not a broad platform, but a reusable program and library that other label-printing tools could embed.

### 使われ方

Practitioners use the `barcode` command to read strings from the command line or standard input and emit printable barcode pages or EPS fragments. It supports common product and book codes including UPC, EAN, ISBN, CODE39, and related formats, with sizing and label-table options useful for sticker sheets and print workflows.

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

Package maintainers care about GNU Barcode because it exposes a narrow, scriptable function with few moving parts: encode strings, select a symbology, and produce printer-friendly output. Its library/front-end split also made it useful as a dependency for label software rather than only as a standalone command.

### タイムライン

- 1999: GNU Barcode web page copyright record begins.
- 2011: GNU Barcode 0.99 NEWS records i18n, GPLv3-or-later, SVG, and PCL work.
- 2013: 0.99 NEWS copyright update recorded by the Free Software Foundation.

### Related projects

- GLabels used GNU Barcode internally according to the upstream README.
- Bookland.py is discussed by the README as a related ISBN-oriented barcode program.
- GnuWin32 maintained a Windows port listed by upstream.

### ソース

- <https://git.savannah.gnu.org/cgit/barcode.git/plain/NEWS>
- <https://git.savannah.gnu.org/cgit/barcode.git/plain/README>
- <https://www.gnu.org/software/barcode/>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- MacPorts - barcode: installed executable or alias match | MacPorts ports tree: textproc/barcode/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - barcode - 0.99-9: installed executable or alias match | Debian stable package indexes: barcode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility for barcode generation | https://www.gnu.org/software/barcode/
- Nix - barcode: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ba/barcode/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - barcode - 0.99-7: installed executable or alias match | Ubuntu 24.04 LTS package indexes: barcode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utility for barcode generation | https://www.gnu.org/software/barcode/
- apk - barcode - 0.99-r1: installed executable or alias match | Alpine Linux edge package indexes: barcode from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Convert text strings to printed bars in various standards | https://www.gnu.org/software/barcode/
- dnf - barcode - 0.98-55.fc45: installed executable or alias match | Fedora Rawhide package metadata: barcode from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Generates barcodes from text strings | https://www.gnu.org/software/barcode/
- dnf - barcode-devel - 0.98-55.fc45: installed executable or alias match | Fedora Rawhide package metadata: barcode-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files and libraries for barcode development | https://www.gnu.org/software/barcode/
- pacman - barcode - 0.99-6: installed executable or alias match | Arch Linux sync databases: barcode from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to convert text strings to printed bars | https://www.gnu.org/software/barcode/
- zypper - barcode - 0.99-12.6: installed executable or alias match | openSUSE Tumbleweed package metadata: barcode from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Text-Mode Barcode Creation Utility | https://www.gnu.org/software/barcode
- zypper - barcode-devel - 0.99-12.6: installed executable or alias match | openSUSE Tumbleweed package metadata: barcode-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Text-Mode Barcode Creation Utility - Development files | https://www.gnu.org/software/barcode


## Combined YAML source

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