首页 > 应用开发 > > ubuntu安装字体
目前要在没有桌面环境的情况下,安装字体
首先自己下载字体,不用使用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/ ,如需转载,请注明出处,否则将追究法律责任。