fc-cache: command not found

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

1 Answer

You have to install "fontconfig" package:

sudo apt install fontconfig

Now you should be able to use fc-cache.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like