Automic VaultAutomic Vault

brew

source-highlight を Homebrew, apk, apt, dnf, MacPorts, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install source-highlight

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install source-highlight

MacPorts ports tree · textproc/source-highlight/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add source-highlight

Alpine Linux edge package indexes · source-highlight · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install source-highlight

Debian stable package indexes · source-highlight · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install source-highlight

Fedora Rawhide package metadata · source-highlight · ソース: dl.fedoraproject.org

Arch Linux pacman確認済み · 92%
sudo pacman -S source-highlight

Arch Linux sync databases · source-highlight · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install source-highlight

openSUSE Tumbleweed package metadata · source-highlight · ソース: download.opensuse.org

概要

パッケージ概要

Source-code syntax highlighter

コマンドとエイリアス

  • check-regexp
  • cpp2html
  • java2html
  • source-highlight
  • source-highlight-esc.sh
  • source-highlight-settings
  • src-hilite-lesspipe.sh

履歴

プロジェクトの歴史と使われ方

GNU Source-highlight is a GNU command-line tool and C++ library that turns source files into syntax-highlighted documents in formats such as HTML, ANSI escape sequences, LaTeX, Texinfo, DocBook, ODF, Groff, and others.

プロジェクトの歴史

The manual explains that GNU Source-highlight grew out of the older GNU `cpp2html` and `java2html` programs, which were kept as compatibility scripts after the unified `source-highlight` command arrived. The official NEWS file marks version 1.0 as the first Source-highlight release while noting that it already incorporated those earlier tools.

The project moved from a focused source-to-HTML converter into a configurable highlighter: version 2.0 added user-defined input language definitions, version 2.1 added user-defined output language definitions, version 2.2 added ctags-backed cross references, and version 3.0 added a reusable C++ highlighting library.

採用の歴史

The official manual lists many supported languages and output formats, and the NEWS file records additions such as ANSI escape output for `less`, ODF, MediaWiki, HTML5, S-expressions, Groff, Go, Rust, and other language definitions. That breadth made it attractive to distributions and documentation pipelines.

使われ方

Users invoke `source-highlight` to convert source code or plain text into highlighted documents. The package also ships helpers such as `check-regexp`, compatibility scripts such as `cpp2html` and `java2html`, and `src-hilite-lesspipe.sh` for viewing highlighted files through `less`.

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

Package nerds care because it is a very GNU-flavored packaging specimen: configurable data files, many generated output targets, shell-compatible helper programs, a library split, `less` integration, Savannah hosting, and a user config at `~/.source-highlight/source-highlight.conf`.

タイムライン

  • 1999: Copyright period begins in the official NEWS file.
  • 1.0: First Source-highlight release, incorporating existing `cpp2html` and `java2html` programs.
  • 2.0: User-defined input language definitions added.
  • 2.1: User-defined output format definitions added.
  • 2.2: ctags-backed cross references added.
  • 3.0: C++ library and `source-highlight-settings` added.
  • 2015: Manual edition 3.1.8 documented the broad language and output-format set.
  • 2023: Savannah ChangeLog shows modernization work requiring C++11 and replacing Boost shared pointers with standard ones.

Related projects

  • `cpp2html` and `java2html` are predecessor/compatibility tools documented by the GNU manual.
  • The manual lists related front-ends and integrations such as Source-highlight-qt, QSource-Highlight, SourceHighlightIDE, Ksrc2highlight, Ikiwiki integration, and Perl/PHP/Python bindings.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.source-highlight/source-highlight.conf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
check-regexpcliグローバル実行可能ファイル
cpp2htmlcliグローバル実行可能ファイル
java2htmlcliグローバル実行可能ファイル
source-highlightcliグローバル実行可能ファイル
source-highlight-esc.shcliグローバル実行可能ファイル
source-highlight-settingscliグローバル実行可能ファイル
src-hilite-lesspipe.shcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.1.9
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://www.gnu.org/software/src-highlite/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:source-highlight
バージョン3.1.9
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/source-highlight
ホームページhttps://www.gnu.org/software/src-highlite/
リポジトリhttps://git.savannah.gnu.org/cgit/src-highlite.git
上流ドキュメントhttps://www.gnu.org/software/src-highlite/source-highlight.html
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://ftpmirror.gnu.org/gnu/src-highlite/source-highlight-3.1.9.tar.gz
最終更新2026-06-22T14:06:20-07:00
Pulseupdated
依存関係boost
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesource-highlight
Version Scheme0
Revision6
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libsource-highlight-common 3.1.9-4.3

architecture-independent files for source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight-common
  • Section: libs
  • Architecture: all
  • Source Package: source-highlight
  • normalized package name match
  • 一致条件: Source Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsource-highlight-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsource-highlight-dev 3.1.9-4.3+b1

development files for source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: source-highlight
  • 2 依存関係
  • normalized package name match
  • 一致条件: Source Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsource-highlight-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsource-highlight4t64 3.1.9-4.3+b1

source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight4t64
  • Section: libs
  • Architecture: amd64
  • Source Package: source-highlight
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Source Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsource-highlight4t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

source-highlight 3.1.9-4.3+b1

convert source code to syntax highlighted document

http://www.gnu.org/software/src-highlite/

sudo apt install source-highlight
  • Section: devel
  • Architecture: amd64
  • Source Package: source-highlight
  • 4 依存関係
  • normalized package name match
  • 一致条件: Source Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: source-highlight from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libsource-highlight-common 3.1.9-4.3build1

architecture-independent files for source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight-common
  • Section: libs
  • Architecture: all
  • Source Package: source-highlight
  • normalized package name match
  • 一致条件: Source Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsource-highlight-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsource-highlight-dev 3.1.9-4.3build1

development files for source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: source-highlight
  • 2 依存関係
  • normalized package name match
  • 一致条件: Source Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsource-highlight-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsource-highlight4t64 3.1.9-4.3build1

source highlighting library

http://www.gnu.org/software/src-highlite/

sudo apt install libsource-highlight4t64
  • Section: libs
  • Architecture: amd64
  • Source Package: source-highlight
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Source Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsource-highlight4t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

source-highlight 3.1.9-4.3build1

convert source code to syntax highlighted document

http://www.gnu.org/software/src-highlite/

sudo apt install source-highlight
  • Section: universe/devel
  • Architecture: amd64
  • 4 依存関係
  • normalized package name match
  • 一致条件: Source Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: source-highlight from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

source-highlight 3.1.9-r14

Produces a document with syntax highlighting

https://www.gnu.org/software/src-highlite/

sudo apk add source-highlight
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: source-highlight
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Source Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: source-highlight from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

source-highlight-bash-completion 3.1.9-r14

Bash completions for source-highlight

https://www.gnu.org/software/src-highlite/

sudo apk add source-highlight-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: source-highlight
  • normalized package name match
  • 一致条件: Source Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: source-highlight-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

source-highlight-dev 3.1.9-r14

Produces a document with syntax highlighting (development files)

https://www.gnu.org/software/src-highlite/

sudo apk add source-highlight-dev
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: source-highlight
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Source Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: source-highlight-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

source-highlight-doc 3.1.9-r14

Produces a document with syntax highlighting (documentation)

https://www.gnu.org/software/src-highlite/

sudo apk add source-highlight-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: source-highlight
  • normalized package name match
  • 一致条件: Source Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: source-highlight-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

source-highlight 3.1.9-27.fc44

Produces a document with syntax highlighting

http://www.gnu.org/software/src-highlite/

sudo dnf install source-highlight
  • License: GPL-3.0-or-later AND GFDL-1.1-or-later AND LicenseRef-Fedora-Public-Domain AND GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later WITH Bison-exception-2.2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: source-highlight
  • 8 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Source Highlight
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: source-highlight from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

source-highlight-devel 3.1.9-27.fc44

Development files for source-highlight

http://www.gnu.org/software/src-highlite/

sudo dnf install source-highlight-devel
  • License: GPL-3.0-or-later AND GFDL-1.1-or-later AND LicenseRef-Fedora-Public-Domain AND GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later WITH Bison-exception-2.2
  • Category: Unspecified
  • Architecture: i686
  • Source Package: source-highlight
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Source Highlight
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: source-highlight-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

source-highlight 3.1.9-18

Convert source code to syntax highlighted document

https://www.gnu.org/software/src-highlite/

sudo pacman -S source-highlight
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Source Highlight
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: source-highlight from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libsource-highlight-devel 3.1.9-5.17

Source Code Highlighting C++ Library

https://www.gnu.org/software/src-highlite

sudo zypper install libsource-highlight-devel
  • License: GPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: source-highlight
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Source Highlight
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libsource-highlight-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment