我刚刚通過執行以下命令在ubuntu 18.04服務器(而非台式機)上安裝了ttf-mscorefonts:
sudo apt install ttf-mscorefonts-installer
一切似乎都已正確安裝。
顯然,為了使系統能够識別這些字型,我需要執行
sudo fc-cache -f -v
但是,這將引發以下錯誤:
sudo: fc-cache: command not found
最新回復
- 2019-10-61 #
我刚刚通過執行以下命令在ubuntu 18.04服務器(而非台式機)上安裝了ttf-mscorefonts:
sudo apt install ttf-mscorefonts-installer
一切似乎都已正確安裝。
顯然,為了使系統能够識別這些字型,我需要執行
sudo fc-cache -f -v
但是,這將引發以下錯誤:
sudo: fc-cache: command not found
您必须安裝" fontconfig"軟體包:
現在您應该可以使用
fc-cache