Automic VaultAutomic Vault

brew

Install ctemplate with Homebrew, apt, pacman, zypper

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ctemplate

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libctemplate-dev

Debian stable package indexes · libctemplate-dev · source: deb.debian.org

Arch Linux pacmanverified · 92%
sudo pacman -S ctemplate

Arch Linux sync databases · ctemplate · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libctemplate-devel

openSUSE Tumbleweed package metadata · libctemplate-devel · source: download.opensuse.org

overview

Package summary

Template language for C++

Commands and aliases

  • diff_tpl_auto_escape
  • make_tpl_varnames_h
  • template-converter

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
diff_tpl_auto_escapecliglobal executable
make_tpl_varnames_hcliglobal executable
template-convertercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.4
manager updated
local dataok
upstreamcurrent
latest detectedctemplate-2.4

https://github.com/OlafvdSpek/ctemplate

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:ctemplate
Version2.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ctemplate
Homepagehttps://github.com/olafvdspek/ctemplate
Repositoryhttps://github.com/olafvdspek/ctemplate
Upstream docshttps://github.com/OlafvdSpek/ctemplate#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/OlafvdSpek/ctemplate/archive/refs/tags/ctemplate-2.4.tar.gz
Build dependenciesautoconf, automake, libtool
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namectemplate
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libctemplate-dev 2.4-4

Simple but powerful template language for C++ - development files

https://github.com/olafvdspek/ctemplate

sudo apt install libctemplate-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: ctemplate
  • 5 dependencies
  • normalized package name match
  • Matched by: Ctemplate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libctemplate-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libctemplate3t64 2.4-4

Simple but powerful template language for C++

https://github.com/olafvdspek/ctemplate

sudo apt install libctemplate3t64
  • Section: libs
  • Architecture: amd64
  • Source Package: ctemplate
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ctemplate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libctemplate3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libctemplate-dev 2.4-3.1build1

Simple but powerful template language for C++ - development files

https://github.com/olafvdspek/ctemplate

sudo apt install libctemplate-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: ctemplate
  • 5 dependencies
  • normalized package name match
  • Matched by: Ctemplate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libctemplate-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libctemplate3t64 2.4-3.1build1

Simple but powerful template language for C++

https://github.com/olafvdspek/ctemplate

sudo apt install libctemplate3t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: ctemplate
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ctemplate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libctemplate3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

ctemplate 2.4-4

A library implementing a simple but powerful template language for C++

https://github.com/olafvdspek/ctemplate

sudo pacman -S ctemplate
  • License: BSD
  • Architecture: x86_64
  • 5 dependencies
  • normalized package name match
  • Matched by: Ctemplate
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ctemplate from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libctemplate-devel 2.4-1.17

Development files for ctemplate, a C++ language templating library

https://github.com/OlafvdSpek/ctemplate

sudo zypper install libctemplate-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: ctemplate
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Ctemplate
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libctemplate-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libctemplate3 2.4-1.17

Library for a C++ template languaging

https://github.com/OlafvdSpek/ctemplate

sudo zypper install libctemplate3
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: ctemplate
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Ctemplate
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libctemplate3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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