ITPub博客

首页 > 应用开发 > > ubuntu安装字体

ubuntu安装字体

作者:uzhy 时间:2019-09-03 14:19:15 0 删除 编辑

目前要在没有桌面环境的情况下,安装字体

首先自己下载字体,不用使用apt-get

sudo mkdir -p /usr/share/fonts/custom

sudo mv Monaco.ttf /usr/share/fonts/custom

sudo chmod 744 /usr/share/fonts/custom/*

sudo mkfontscale #生成核心字体信息 

sudo mkfontdir 

sudo fc-cache -fv

然后重启搞定

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2551/viewspace-3137923/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-16

  • 博文量
    86
  • 访问量
    537