bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

人生之路不会是一帆风顺的,我们会遇上顺境,也会遇上逆境,在所有成功路上折磨你的,背后都隐藏着激励你奋发向上的动机,人生没有如果,只有后果与结果,成熟,就是用微笑来面对一切小事。

导读:本篇文章讲解 bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘,希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com,来源:原文

bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

 bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

 原因:

etc/yum.repos.d/rhel-debuginfo.repo这个文件

bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

加上base 

bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

 

yum install fontconfig

bash: fc-list: command not found,file: file:///etc/yum.repos.d/rhel-debuginfo.repo, line: 1‘se]\n‘

然后就可以了

  • linux 字体查询、添加字体方式

    1、查询到已经正常服务器上使用字体。

    2、字体查询命令:  fc-list

    3、将正常服务器上好用的字体:/usr/share/fonts 将fonts 文件下的所有文件拷贝下来。

    4、使用 root 账号 将拷贝下来的fonts 字体拷贝到 /usr/share/fonts 路径下。

    5、使用 root 账号执行如下:(使用非root账号的需要使用root授权)

            步骤一:cd /usr/share/fonts   –切换目录

          步骤二:执行:mkfontscale (如果提示 mkfontscale: command not found,要自己安装,安装命令: yum install mkfontscale,提示安装内容是否正确的话,敲Y,回车就好),安装完成要重新执行:mkfontscale 。针对不同系统,可能yum安装命令不一样的情况。

          步骤三:执行:mkfontdir
          步骤四:执行:fc-cache -fv (如果提示 fc-cache: command not found,要自己安装,安装命令: yum install fontconfig ,提示安装内容是否正确的话,敲Y,回车就好),安装完成要重新执行:fc-cache -fv
    7、fc-list  不正常显示,则需要重启linux服务器。reboot重启 服务器:

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由半码博客整理,本文链接:https://www.bmabk.com/index.php/post/124524.html

(0)

相关推荐

发表回复

登录后才能评论
半码博客——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!