macOS
brew install ccachelocal Homebrew formula metadata
sudo port install ccacheMacPorts ports tree · devel/ccache/Portfile · 来源: api.github.com
安装
brew install ccachelocal Homebrew formula metadata
sudo port install ccacheMacPorts ports tree · devel/ccache/Portfile · 来源: api.github.com
sudo apk add ccacheAlpine Linux edge package indexes · ccache · 来源: dl-cdn.alpinelinux.org
sudo apt install ccacheDebian stable package indexes · ccache · 来源: deb.debian.org
sudo dnf install ccacheFedora Rawhide package metadata · ccache · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ccachenixpkgs package indexes · pkgs/by-name/cc/ccache/package.nix · 来源: api.github.com
sudo pacman -S ccacheArch Linux sync databases · ccache · 来源: geo.mirror.pkgbuild.com
sudo zypper install ccacheopenSUSE Tumbleweed package metadata · ccache · 来源: download.opensuse.org
choco install ccacheChocolatey community package catalog · ccache · 来源: community.chocolatey.org
scoop install main/ccacheScoop official bucket manifest trees · bucket/ccache.json · 来源: api.github.com
winget install --id Ccache.Ccache -eWindows Package Manager source index · Ccache.Ccache · 来源: cdn.winget.microsoft.com
概览
Object-file caching compiler wrapper
历史
Ccache is a compiler cache that speeds up recompilation by caching prior compilations and detecting when the same compilation is being done again.
The official credits page says ccache was originally written by Andrew Tridgell, inspired by Erik Thiele's compilercache shell script, and has been developed and maintained by Joel Rosdahl since 2010.
The official site presents ccache as a cross-platform build accelerator supporting GCC, Clang, MSVC, and similar compilers on Linux, Windows, macOS, and other Unix-like systems. The supplied package facts show broad package-manager availability, including Homebrew, Debian, Fedora, Nix, MacPorts, Chocolatey, Scoop, winget, Alpine, Arch, Ubuntu, and zypper.
Ccache is used by developers and build farms to speed repeated clean builds, branch builds, and shared compilation servers. The manual documents command modes, statistics, automatic cleanup, local and remote storage, cache-specific and directory-specific configuration files, environment variables, and direct/depend modes.
Few developer packages are as visibly package-manager-adjacent as ccache: it is commonly installed globally, inserted ahead of compilers in PATH or build-system variables, and tuned through predictable config files and environment variables. It is also a useful packaging stress test because it wraps many compilers while trying to preserve exact compiler output.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/.config/ccache/ccache.conf$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/Library/Preferences/ccache/ccache.conf%CCACHE_CONFIGPATH%%CCACHE_DIR%/ccache.conf<cache_dir>\ccache.conf%USERPROFILE%\.ccache\ccache.conf%LOCALAPPDATA%\ccache\ccache.conf%APPDATA%\ccache\ccache.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ccache | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ccache |
|---|---|
| 版本 | 4.13.6 |
| 软件包管理器 | Homebrew |
| 主页 | https://ccache.dev/ |
| 仓库 | https://github.com/ccache/ccache |
| 最后更新 | 2026-08-02T01:55:34+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ccache 4.11.2-2
Compiler cache for fast recompilation of C/C++ code
sudo apt install ccacheccache
nix profile install nixpkgs#ccacheccache 4.9.1-1
Compiler cache for fast recompilation of C/C++ code
sudo apt install ccacheccache 4.13.6-r0
fast C/C++ compiler cache
sudo apk add ccacheccache-doc 4.13.6-r0
fast C/C++ compiler cache (documentation)
sudo apk add ccache-docccache 4.13.6-3.fc45
C/C++ compiler cache
sudo dnf install ccacheccache 4.13.6-1
Compiler cache that speeds up recompilation by caching previous compilations
sudo pacman -S ccacheccache 4.13.6-1.5
A Fast C/C++ Compiler Cache
sudo zypper install ccacheccache
sudo port install ccacheccache
choco install ccachemain/ccache
scoop install main/ccacheCcache.Ccache
winget install --id Ccache.Ccache -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.