# ctemplate を Homebrew, pacman, apt, zypper でインストール

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

## インストール

```sh
sudo av install brew:ctemplate
```

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

### macOS

- Homebrew (100%):

```sh
brew install ctemplate
```

  証拠: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S ctemplate
```

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

- Debian apt (92%):

```sh
sudo apt install libctemplate-dev
```

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

- zypper (92%):

```sh
sudo zypper install libctemplate-devel
```

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

## パッケージ情報

- **パッケージキー:** brew:ctemplate
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ctemplate>
- **バージョン:** 2.4
- **ソース概要:** Template language for C++
- **ホームページ:** <https://github.com/olafvdspek/ctemplate>
- **リポジトリ:** <https://github.com/olafvdspek/ctemplate>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://github.com/OlafvdSpek/ctemplate/archive/refs/tags/ctemplate-2.4.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- diff_tpl_auto_escape (cli)
- make_tpl_varnames_h (cli)
- template-converter (cli)
- diff_tpl_auto_escape (エイリアス)
- make_tpl_varnames_h (エイリアス)
- template-converter (エイリアス)

## ビルド依存関係

- autoconf
- automake
- libtool

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.4
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/OlafvdSpek/ctemplate
- 検出された最新: ctemplate-2.4 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

ctemplate is a C++ template library with companion command-line tools for template conversion and generated variable-name headers. Its official changelog traces the project from a Google open-source release in 2006 through community-maintained 2.x releases.

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

The initial release was made by Google Inc. in March 2006 as a package implementing a simple but powerful template language for C++. Early releases added portability work, escaping modes, editor support, and threading/build variants.

In the 2.0 release in January 2012, the project changed its official contact, rewrote documentation to refer to Ctemplate rather than Google Template, renamed Visual Studio files, and updated copyright text to reflect Google's relinquished ownership. Later releases under Olaf van der Spek focused on C++11 fixes, refactoring, and a Python 3 build-tool update.

### 採用の歴史

The README positions ctemplate as portable C++ infrastructure, tested across Linux distributions, Solaris, FreeBSD, older OS X releases, and Windows Visual C++ versions. Homebrew and other package-manager metadata keep it available as a system C++ library rather than only as vendored source.

### 使われ方

Users link applications against either the threaded ctemplate library or the nothreads variant, and the package installs small helper executables such as make_tpl_varnames_h, template-converter, and diff_tpl_auto_escape.

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

For package maintainers, ctemplate is representative of older Google-era C++ infrastructure: Autotools, platform portability fixes, generated headers, optional thread linkage, and a long-lived ABI-style library package.

### タイムライン

- 2006: Initial Google Inc. release.
- 2011: 1.0 release after the 0.x series.
- 2012: 2.0 release renamed project surfaces from Google Template to Ctemplate and reflected Google's relinquished ownership.
- 2020: 2.4 release switched build tooling to Python 3.

### Related projects

- The project originated as Google Template/Ctemplate and remains a C++ templating library rather than a web framework or general text-preprocessor package.

### ソース

- <https://github.com/OlafvdSpek/ctemplate/blob/master/ChangeLog>
- <https://github.com/OlafvdSpek/ctemplate#readme>
- <https://formulae.brew.sh/formula/ctemplate>


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ctemplate
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - libctemplate-dev - 2.4-4: normalized package name match | Debian stable package indexes: libctemplate-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple but powerful template language for C++ - development files | https://github.com/olafvdspek/ctemplate
- Debian apt - libctemplate3t64 - 2.4-4: normalized package name match | Debian stable package indexes: libctemplate3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple but powerful template language for C++ | https://github.com/olafvdspek/ctemplate
- Ubuntu apt - libctemplate-dev - 2.4-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libctemplate-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple but powerful template language for C++ - development files | https://github.com/olafvdspek/ctemplate
- Ubuntu apt - libctemplate3t64 - 2.4-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libctemplate3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple but powerful template language for C++ | https://github.com/olafvdspek/ctemplate
- pacman - ctemplate - 2.4-4: normalized package name match | Arch Linux sync databases: ctemplate from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A library implementing a simple but powerful template language for C++ | https://github.com/olafvdspek/ctemplate
- zypper - libctemplate-devel - 2.4-1.18: normalized package name match | openSUSE Tumbleweed package metadata: libctemplate-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for ctemplate, a C++ language templating library | https://github.com/OlafvdSpek/ctemplate
- zypper - libctemplate3 - 2.4-1.18: normalized package name match | openSUSE Tumbleweed package metadata: libctemplate3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for a C++ template languaging | https://github.com/OlafvdSpek/ctemplate


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libtool](https://pkg.so/ja/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/ja/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/ja/brew/automake/) - Build dependency declared by Homebrew.
- [cctz](https://pkg.so/ja/brew/cctz/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, libraries, library.
- [pango](https://pkg.so/ja/brew/pango/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [libdeflate](https://pkg.so/ja/brew/libdeflate/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [libdatrie](https://pkg.so/ja/brew/libdatrie/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [nspr](https://pkg.so/ja/brew/nspr/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [json-glib](https://pkg.so/ja/brew/json-glib/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [protobuf-c](https://pkg.so/ja/brew/protobuf-c/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [ossp-uuid](https://pkg.so/ja/brew/ossp-uuid/) - Shares pkgdb curated category or tags: cli, developer-tools, libraries, library.
- [thors-anvil](https://pkg.so/ja/brew/thors-anvil/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, libraries.
- [ccls](https://pkg.so/ja/brew/ccls/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, language.

## Combined YAML source

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


## ソース

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