linux安装ms字体

这篇博客介绍了如何在Linux环境下安装Windows字体,包括通过软件源安装和手动复制字体文件到指定目录,并详细阐述了刷新字体缓存的步骤,以确保新字体生效。
摘要由CSDN通过智能技术生成

1. 使用软件源安装,适用于debian系

1.1安装包ttf-mscorefonts-installer即可

sudo apt-get install ttf-mscorefonts-installer
[sudo] d 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会同时安装下列软件:
  cabextract
下列【新】软件包将被安装:
  cabextract ttf-mscorefonts-installer
升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 62.8 kB 的归档。
解压缩后会消耗 168 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://mirrors.tuna.tsinghua.edu.cn/deepin panda/main amd64 cabextract amd64 1.6-1.1 [31.5 kB]
获取:2 http://mirrors.tuna.tsinghua.edu.cn/deepin panda/contrib amd64 ttf-mscorefonts-installer all 3.7 [31.3 kB]
已下载 62.8 kB,耗时 0秒 (132 kB/s)             
正在预设定软件包 ...
正在选中未选择的软件包 cabextract。
(正在读取数据库 ... 系统当前共安装有 195511 个文件和目录。)
正准备解包 .../cabextract_1.6-1.1_amd64.deb  ...
正在解包 cabextract (1.6-1.1) ...
正在选中未选择的软件包 ttf-mscorefonts-installer。
正准备解包 .../ttf-mscorefonts-installer_3.7_all.deb  ...
正在解包 ttf-mscorefonts-installer (3.7) ...
正在设置 cabextract (1.6-1.1) ...
正在处理用于 man-db (2.8.3-2) 的触发器 ...
正在设置 ttf-mscorefonts-installer (3.7) ...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

--2019-04-08 10:42:21--  http://downloads.sourceforge.net/corefonts/andale32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://202.194.1.97/cache/10/01/downloads.sourceforge.net/c05d788abcb2caedbdb2dae81da765b7/andale32.exe [跟随至新的 URL]
--2019-04-08 10:42:21--  http://202.194.1.97/cache/10/01/downloads.sourceforge.net/c05d788abcb2caedbdb2dae81da765b7/andale32.exe
正在连接 202.194.1.97:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:198384 (194K) [application/octet-stream]
正在保存至: “./andale32.exe”

     0K .......... .......... .......... .......... .......... 25%  933K 0s
    50K .......... .......... .......... .......... .......... 51%  315K 0s
   100K .......... .......... .......... .......... .......... 77%  222K 0s
   150K .......... .......... .......... .......... ...       100%  112K=0.8s

2019-04-08 10:42:54 (234 KB/s) - 已保存 “./andale32.exe” [198384/198384])

--2019-04-08 10:42:54--  http://downloads.sourceforge.net/corefonts/arialb32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe [跟随至新的 URL]
--2019-04-08 10:42:54--  http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/arialb32.exe
再次使用存在的到 downloads.sourceforge.net:80 的连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://202.194.1.97/cache/10/01/downloads.sourceforge.net/d4e87d9c1d026856bf56aa3ad56f11b6/arialb32.exe [跟随至新的 URL]
--2019-04-08 10:42:54--  http://202.194.1.97/cache/10/01/downloads.sourceforge.net/d4e87d9c1d026856bf56aa3ad56f11b6/arialb32.exe
正在连接 202.194.1.97:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:168176 (164K) [application/octet-stream]
正在保存至: “./arialb32.exe”

     0K .......... .......... .......... .......... .......... 30%  413K 0s
    50K .......... .......... .......... .......... .......... 60%  650K 0s
   100K .......... .......... .......... .......... .......... 91%  878K 0s
   150K .......... ....                                       100% 1.61M=0.3s

2019-04-08 10:42:57 (623 KB/s) - 已保存 “./arialb32.exe” [168176/168176])

--2019-04-08 10:42:57--  http://downloads.sourceforge.net/corefonts/arial32.exe
正在解析主机 downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
正在连接 downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:http://202.194.1.97/cache/4/01/downloads.sourceforge.net/35c0f49419e1d8aa584e98f1e0dbce16/arial32.exe [跟随至新的 URL]
--2019-04-08 10:42:57--  http://202.194.1.97/cache/4/01/downloads.sourceforge.net/35c0f49419e1d8aa584e98f1e0dbce16/arial32.exe
正在连接 202.194.1.97:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:554208 (541K) [application/octet-stream]
正在保存至: “./arial32.exe”

     0K .......... .......... .......... .......... ..........  9%  746K 1s
    50K .......... .......... .......... .......... .......... 18%  461K 1s
   100K .......... .......... .......... .......... .......... 27%  451K 1s
   150K .......... .......... .......... .......... .......... 36%  185K 1s
   200K .......... .......... .......... .......... .......... 46% 5.50M 1s
   250K .......... .......... .......... .......... .......... 55% 1.39M 0s
   300K .......... .......... .......... ......
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值