macOS
brew install ctemplatelocal Homebrew formula metadata
brew
Template language for C++. Version 2.4 via Homebrew; verified from local package data.
install
brew install ctemplatelocal Homebrew formula metadata
sudo apt install libctemplate-devDebian stable package indexes · libctemplate-dev · source: deb.debian.org
sudo pacman -S ctemplateArch Linux sync databases · ctemplate · source: geo.mirror.pkgbuild.com
sudo zypper install libctemplate-developenSUSE Tumbleweed package metadata · libctemplate-devel · source: download.opensuse.org
overview
Template language for C++
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
diff_tpl_auto_escape | cli | global executable | |
make_tpl_varnames_h | cli | global executable | |
template-converter | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/OlafvdSpek/ctemplate
install metadata
| Package key | brew:ctemplate |
|---|---|
| Version | 2.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ctemplate |
| 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 |
| Build dependencies | autoconf, automake, libtool |
| 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) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libctemplate-dev 2.4-4
Simple but powerful template language for C++ - development files
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate-devlibctemplate3t64 2.4-4
Simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate3t64libctemplate-dev 2.4-3.1build1
Simple but powerful template language for C++ - development files
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate-devlibctemplate3t64 2.4-3.1build1
Simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate3t64ctemplate 2.4-4
A library implementing a simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo pacman -S ctemplatelibctemplate-devel 2.4-1.17
Development files for ctemplate, a C++ language templating library
https://github.com/OlafvdSpek/ctemplate
sudo zypper install libctemplate-devellibctemplate3 2.4-1.17
Library for a C++ template languaging
https://github.com/OlafvdSpek/ctemplate
sudo zypper install libctemplate3source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.