Automic VaultAutomic Vault

brew

使用 Homebrew, pacman, apt, zypper 安装 ctemplate

查看 ctemplate 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ctemplate

local Homebrew formula metadata

Linux

Arch Linux pacman已验证 · 92%
sudo pacman -S ctemplate

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

Debian apt已验证 · 92%
sudo apt install libctemplate-dev

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

openSUSE zypper已验证 · 92%
sudo zypper install libctemplate-devel

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

概览

软件包摘要

Template language for C++

命令和别名

  • diff_tpl_auto_escape
  • make_tpl_varnames_h
  • template-converter

历史

项目历史与用法

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.

安全态势

风险级别:绿色

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 元数据适用于 12 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
diff_tpl_auto_escapecli全局可执行文件
make_tpl_varnames_hcli全局可执行文件
template-convertercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.4
管理器更新时间
本地数据OK
上游当前
检测到的最新版本ctemplate-2.4

https://github.com/OlafvdSpek/ctemplate

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:ctemplate
版本2.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ctemplate
主页https://github.com/olafvdspek/ctemplate
仓库https://github.com/olafvdspek/ctemplate
上游文档https://github.com/OlafvdSpek/ctemplate#readme
许可证BSD-3-Clause
源码归档https://github.com/OlafvdSpek/ctemplate/archive/refs/tags/ctemplate-2.4.tar.gz
构建依赖autoconf, automake, libtool
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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