# Install ctemplate

Template language for C++. Version 2.4 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ctemplate
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

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

- pacman (92%):

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

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

- zypper (92%):

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

  Evidence: openSUSE Tumbleweed package metadata: libctemplate-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:ctemplate
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/ctemplate>
- **Version:** 2.4
- **Source summary:** Template language for C++
- **Homepage:** <https://github.com/olafvdspek/ctemplate>
- **Repository:** <https://github.com/olafvdspek/ctemplate>
- **Upstream docs:** <https://github.com/OlafvdSpek/ctemplate#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/OlafvdSpek/ctemplate/archive/refs/tags/ctemplate-2.4.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- diff_tpl_auto_escape (cli)
- make_tpl_varnames_h (cli)
- template-converter (cli)
- diff_tpl_auto_escape (alias)
- make_tpl_varnames_h (alias)
- template-converter (alias)

## Build Dependencies

- autoconf
- automake
- libtool

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.4
- Local data status: ok
- Upstream repository: https://github.com/OlafvdSpek/ctemplate
- Upstream latest detected: ctemplate-2.4 (current)
- info: No package-manager update timestamp was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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.17: normalized package name match | openSUSE Tumbleweed package metadata: libctemplate-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Development files for ctemplate, a C++ language templating library | https://github.com/OlafvdSpek/ctemplate
- zypper - libctemplate3 - 2.4-1.17: normalized package name match | openSUSE Tumbleweed package metadata: libctemplate3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Library for a C++ template languaging | https://github.com/OlafvdSpek/ctemplate


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [yazpp](https://www.automicvault.com/zh-hans/pkg/brew/yazpp/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, libraries, library.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [pango](https://www.automicvault.com/zh-hans/pkg/brew/pango/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [libdeflate](https://www.automicvault.com/zh-hans/pkg/brew/libdeflate/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [ada-url](https://www.automicvault.com/zh-hans/pkg/brew/ada-url/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [nspr](https://www.automicvault.com/zh-hans/pkg/brew/nspr/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [libdatrie](https://www.automicvault.com/zh-hans/pkg/brew/libdatrie/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [gomplate](https://www.automicvault.com/zh-hans/pkg/brew/gomplate/) - Shares av.db curated category or tags: cli, developer-tools, templating.
- [jinja2-cli](https://www.automicvault.com/zh-hans/pkg/brew/jinja2-cli/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, templating.
- [ccls](https://www.automicvault.com/zh-hans/pkg/brew/ccls/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, language.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
