How To Install Ccache?

How To Install Ccache?

ccache

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

Maintainer: Joel Rosdahl



Section: devel

Install ccache

  • Debian apt-get install ccache Click to copy
  • Ubuntu apt-get install ccache Click to copy
  • Alpine OS apk add ccache Click to copy
  • Arch Linux pacman -S ccache Click to copy
  • Kali Linux apt-get install ccache Click to copy
  • Fedora dnf install ccache Click to copy
  • Raspbian apt-get install ccache Click to copy
  • macOS brew install ccache Click to copy

ccache

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

ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again. Supported languages are C, C++, Objective-C and Objective-C++.

To install the latest version of ccache in your favorite operating system just copy the ccache installation command from above and paste it into terminal. It will download and install the latest version of ccache 2026 package in your OS.