Forrest logo
back to the fc-cache tool

fc-cache:tldr:0c69d

fc-cache: Erase font cache files, then generate new font cache files.
$ fc-cache -r
try on your machine

The command fc-cache -r is used to regenerate the font cache for Linux systems that use the fontconfig library. Font cache stores information about available fonts on the system, facilitating their quick access by applications.

Here's a breakdown of the command:

  • fc-cache is the main program that generates and caches font information for applications.
  • -r is an option that tells fc-cache to regenerate the font cache. It clears the existing cache and rebuilds it from scratch.

By running fc-cache -r, you are forcing the system to refresh the font cache, ensuring that any newly installed or removed fonts are accurately reflected for applications that rely on this cache.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fc-cache tool