Linux Commands Examples

A great documentation place for Linux commands


build font information cache files

see also : fc-cat - fc-list - fc-match - fc-pattern - fc-query - fc-scan


fc-cache [ -frsvVh ] [ --force ] [ --really-force ] [ --system-only ] [ --verbose ] [ --version ] [ --help ] [ dir... ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling.

If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is scanned for font files readable by FreeType. A cache is created which contains properties of each font and the associated filename. This cache is used to speed up application startup when using the fontconfig library.

Note that fc-cache must be executed once per architecture to generate font information customized for that architecture.


This program follows the usual GNU command line syntax, with long options starting with two dashes (’-’). A summary of options is included below.


Force re-generation of apparently up-to-date cache files, overriding the timestamp checking.


Erase all existing cache files and rescan.


Only scan system-wide directories, omitting the places located in the user’s home directory.


Display status information while busy.


Show summary of options.


Show version of the program and exit.


Directory to scan for fonts.



These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library at application startup to locate appropriate fonts.

see also

fc-cat fc-list fc-match fc-pattern fc-query fc-scan

The fontconfig user’s guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.


This manual page was written by Keith Packard <keithp[:at:]keithp[:dot:]com> and Josselin Mouette <joss[:at:]debian[:dot:]org>.

How can this site be more helpful to YOU ?

give  feedback