Automic VaultAutomic Vault

brew

ccache を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

ccache のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ccache

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install ccache

MacPorts ports tree · devel/ccache/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add ccache

Alpine Linux edge package indexes · ccache · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install ccache

Debian stable package indexes · ccache · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install ccache

Fedora Rawhide package metadata · ccache · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#ccache

nixpkgs package indexes · pkgs/by-name/cc/ccache/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S ccache

Arch Linux sync databases · ccache · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install ccache

openSUSE Tumbleweed package metadata · ccache · ソース: download.opensuse.org

概要

パッケージ概要

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.

タイムライン

  • 2010: Official credits identify Joel Rosdahl as maintainer from this year.
  • 2016-06-06: Official news says source code and bug tracking moved to GitHub.
  • 2019-04-03: Official news says the website moved to ccache.dev.
  • 2026-05-04: Official news lists ccache 4.13.6 as released.

Related projects

  • Erik Thiele's compilercache, GCC, Clang, MSVC, distcc-style compiler-wrapper workflows, and remote cache/storage helpers.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 6 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 7 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/.config/ccache/ccache.conf
macOS
$CCACHE_CONFIGPATH$CCACHE_DIR/ccache.conf<cache_dir>/ccache.conf~/.ccache/ccache.conf$XDG_CONFIG_HOME/ccache/ccache.conf~/Library/Preferences/ccache/ccache.conf
Windows
%CCACHE_CONFIGPATH%%CCACHE_DIR%/ccache.conf<cache_dir>\ccache.conf%USERPROFILE%\.ccache\ccache.conf%LOCALAPPDATA%\ccache\ccache.conf%APPDATA%\ccache\ccache.conf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ccachecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版4.13.6
マネージャ更新日2026-06-06
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/ccache/ccache

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ccache
バージョン4.13.6
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ccache
ホームページhttps://ccache.dev/
リポジトリhttps://github.com/ccache/ccache
上流ドキュメントhttps://ccache.dev/documentation.html
ライセンスGPL-3.0-or-later
ソースアーカイブhttps://github.com/ccache/ccache/releases/download/v4.13.6/ccache-4.13.6.tar.xz
最終更新2026-06-06T10:04:21Z
Pulseupdated
依存関係blake3, fmt, hiredis, openssl@3, xxhash, zstd
ビルド依存関係asciidoctor, cmake, cpp-httplib, doctest, pkgconf, span-lite, tl-expected
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点To install symlinks for compilers that will automatically use ccache, prepend this directory to your PATH: $HOMEBREW_PREFIX/opt/ccache/libexec If this is an upgrade and you have previously added the symlinks to your PATH, you may need to modify it to the path specified above so it points to the current version. NOTE: ccache can prevent some software from compiling. ALSO NOTE: The brew command, by design, will never use ccache.

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameccache
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%

ccache 4.11.2-2

Compiler cache for fast recompilation of C/C++ code

https://ccache.dev

sudo apt install ccache
  • Section: devel
  • Architecture: amd64
  • 7 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Ccache
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ccache from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ccache

nix profile install nixpkgs#ccache
  • normalized package name match
  • 一致条件: Ccache
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cc/ccache/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ccache 4.9.1-1

Compiler cache for fast recompilation of C/C++ code

https://ccache.dev

sudo apt install ccache
  • Section: universe/devel
  • Architecture: amd64
  • 5 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Ccache
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ccache from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ccache 4.13.6-r0

fast C/C++ compiler cache

https://ccache.dev/

sudo apk add ccache
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: ccache
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Ccache
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ccache from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

ccache-doc 4.13.6-r0

fast C/C++ compiler cache (documentation)

https://ccache.dev/

sudo apk add ccache-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: ccache
  • normalized package name match
  • 一致条件: Ccache
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ccache-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

ccache 4.13.6-1.fc45

C/C++ compiler cache

http://ccache.dev/

sudo dnf install ccache
  • License: GPL-3.0-or-later AND Apache-2.0 AND BSL-1.0 AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ccache
  • 17 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Ccache
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ccache from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ccache 4.13.6-1

Compiler cache that speeds up recompilation by caching previous compilations

https://ccache.dev/

sudo pacman -S ccache
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 10 依存関係
  • normalized package name match
  • 一致条件: Ccache
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ccache from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ccache 4.13.6-1.1

A Fast C/C++ Compiler Cache

https://ccache.dev/

sudo zypper install ccache
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ccache
  • 9 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Ccache
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ccache from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ccache

sudo port install ccache
  • normalized package name match
  • 一致条件: Ccache
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/ccache/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

ccache

choco install ccache
  • normalized package name match
  • 一致条件: Ccache
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: ccache from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','carbon'
Scoop95%

main/ccache

scoop install main/ccache
  • normalized package name match
  • 一致条件: Ccache
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/ccache.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Ccache.Ccache

winget install --id Ccache.Ccache -e
  • normalized package name match
  • 一致条件: Ccache
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Ccache.Ccache from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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