pkg.soopen package index

brew / 排名 13945

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
diff_tpl_auto_escape可执行文件已索引可执行文件从本地可执行文件索引发现。
make_tpl_varnames_h可执行文件已索引可执行文件从本地可执行文件索引发现。
template-converter可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本2.4
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ctemplate
版本2.4
软件包管理器Homebrew
主页https://github.com/olafvdspek/ctemplate
仓库https://github.com/olafvdspek/ctemplate
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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.18

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

libctemplate3 2.4-1.18

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

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