fc-cache: command not found

20,489

You have to install "fontconfig" package:

sudo apt install fontconfig

Now you should be able to use fc-cache.

Share:
20,489

Related videos on Youtube

JonoB
Author by

JonoB

Updated on September 18, 2022

Comments

  • JonoB
    JonoB over 1 year

    I've just installed ttf-mscorefonts on ubuntu 18.04 server (not desktop) by running the following command:

    sudo apt install ttf-mscorefonts-installer
    

    Everything seems to have installed correctly.

    Apparently, in order to get the system to recognise these fonts, I need to run

    sudo fc-cache -f -v
    

    However, that throws the following error:

    sudo: fc-cache: command not found