广告
返回顶部
首页 > 资讯 > 精选 >在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体
  • 426
分享到

在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体

2023-06-16 11:06:04 426人浏览 安东尼
摘要

小编给大家分享一下在ubuntu 18.04 LTS上如何安装Microsoft windows字体,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!在 Ubuntu

小编给大家分享一下在ubuntu 18.04 LTS上如何安装Microsoft windows字体,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

在 Ubuntu 18.04 LTS 桌面版上安装 MS 字体

如下所示安装 MS TrueType 字体:

$ sudo apt update$ sudo apt install ttf-mscorefonts-installer

然后将会出现 Microsoft 的最终用户协议向导,点击 OK 以继续。

在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体

点击 Yes 已接受 Microsoft 的协议:

在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体

安装字体之后, 我们需要使用命令行来更新字体缓存

$ sudo fc-cache -f -v

示例输出:

/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs/usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 46 dirs/usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs/usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs/usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs/usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs/usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs/usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs/usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/tibetan-Machine: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs/home/sk/.local/share/fonts: skipping, no such directory/home/sk/.fonts: skipping, no such directory/var/cache/fontconfig: cleaning cache directory/home/sk/.cache/fontconfig: cleaning cache directory/home/sk/.fontconfig: not cleaning non-existent cache directoryfc-cache: succeeded

linux 和 Windows 双启动的机器上安装 MS 字体

如果你有 Linux 和 Windows 的双启动系统,你可以轻松地从 Windows C 驱动器上安装 MS 字体。 你所要做的就是挂载 Windows 分区(C:/windows)。

我假设你已经在 Linux 中将 C:\Windows 分区挂载在了 /Windowsdrive 目录下。

现在,将字体位置链接到你的 Linux 系统的字体文件夹,如下所示:

ln -s /Windowsdrive/Windows/Fonts /usr/share/fonts/WindowsFonts

链接字体文件之后,使用命令行重新生成 fontconfig 缓存:

fc-cache

或者,将所有的 Windows 字体复制到 /usr/share/fonts 目录下并使用一下命令安装字体:

mkdir /usr/share/fonts/WindowsFontscp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFontschmod 755 /usr/share/fonts/WindowsFonts/*

***,使用命令行重新生成 fontconfig 缓存:

fc-cache

测试 Windows 字体

安装 MS 字体后打开 LibreOffice 或 GIMP。 现在,你将会看到 Microsoft coretype 字体。

在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体

就是这样, 希望这本指南有用。我再次警告你,在其他操作系统中使用 MS 字体是被禁止的。在安装 MS 字体之前请先阅读 Microsoft 许可协议。

以上是“在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注编程网精选频道!

--结束END--

本文标题: 在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体

本文链接: https://www.lsjlt.com/news/283313.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • 在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体
    小编给大家分享一下在Ubuntu 18.04 LTS上如何安装Microsoft Windows字体,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!在 Ubuntu...
    99+
    2023-06-16
  • 如何在Ubuntu 20.04 LTS上安装Apache CouchDB
    Apache CouchDB是由Apache软件基金会开发的一个免费的、开源的NoSQL数据库。它可以作为单节点或集群数据库使用。CouchDB服务器将其数据存储在命名的数据库中,其中包含JSON结构的文档。每个文档由一些字段和附件组成。字...
    99+
    2019-03-30
    如何在Ubuntu 20.04 LTS上安装Apache CouchDB 数据库入门 数据库基础教程 数据库 mysql
  • Ubuntu上如何安装字体
    本篇内容主要讲解“Ubuntu上如何安装字体”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Ubuntu上如何安装字体”吧!1.下载获取字体并解压安装  对于开源操作系统而言,Ubuntu平台默认...
    99+
    2023-06-13
  • 如何在Ubuntu上添加安装字体
    本篇内容介绍了“如何在Ubuntu上添加安装字体”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!Ubuntu的美化当然少不了漂亮字体的支持,我...
    99+
    2023-06-13
  • 如何在Ubuntu 18.04 中安装 gThumb 3.9.1
    本篇文章为大家展示了如何在Ubuntu 18.04 中安装 gThumb 3.9.1,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。gThumb图像查看器几天前发布了一个新的稳定版本3.9.1。以下是...
    99+
    2023-06-05
  • 如何在 Ubuntu 18.04 上安装和配置 NFS 服务器
    网络文件系统(NFS)是一种分布式文件系统协议,允许您通过网络共享远程目录。 使用 NFS ,您可以在系统上安装远程目录,并使用远程计算机上的文件,就像它们是本地文件一样。 默认情况下,NFS 协议未...
    99+
    2023-09-15
    服务器 ubuntu linux 运维
  • 如何在Ubuntu 18.04系统中安装mysql5.7
    如何在Ubuntu 18.04系统中安装mysql5.7?相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。具体内容如下1.1安装首先执行下面三条命...
    99+
    2022-10-18
  • 在Ubuntu 18.04 LTS上如何使用 KVM 配置无头虚拟化服务器
    这篇文章主要介绍在Ubuntu 18.04 LTS上如何使用 KVM 配置无头虚拟化服务器,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!使用 KVM 配置无头虚拟化服务器我在 Ubuntu 18.04 LTS 服务器...
    99+
    2023-06-16
  • 如何在Ubuntu 18.04/Linux Mint 19中安装Wine 4
    本文将为大家详细介绍“如何在Ubuntu 18.04/Linux Mint 19中安装Wine 4”,内容步骤清晰详细,细节处理妥当,而小编每天都会更新不同的知识点,希望这篇“如何在Ubuntu 18.04/Linux Mint 19中安装...
    99+
    2023-06-26
  • 如何在Ubuntu 18.04(实体机)上配置OpenWRT的开发环境
    一、安装虚拟机(实体机) 安装虚拟机或者实体机都可以,刚上手建议安装虚拟机,选择16.04版本或者18.04版本都OK,其openwrt开发环境的搭建过程大同小异,看自身情况选择即可。安装教程请参考其他资料,此处不再记录...
    99+
    2022-06-04
    Ubuntu 18.04配置OpenWRT开发环境 配置OpenWRT开发环境
  • 如何在Windows中安装或删除字体
    要在Windows中安装或删除字体,可以按照以下步骤进行操作:安装字体:1. 打开字体文件所在的文件夹。字体文件通常是以 .ttf、...
    99+
    2023-09-08
    Windows
  • 如何在Ubuntu上安装phpmyadmin
    这篇文章给大家分享的是有关如何在Ubuntu上安装phpmyadmin的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。背景突然想要任性的做一下开发,但是发现sqlite3不能满足我...
    99+
    2022-10-18
  • 如何在Ubuntu上安装Twisted
    这篇文章主要介绍“如何在Ubuntu上安装Twisted”,在日常操作中,相信很多人在如何在Ubuntu上安装Twisted问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”如何在Ubuntu上安装Twisted...
    99+
    2023-06-13
  • 如何在Ubuntu 20.04上安装OpenCV
    这篇文章给大家分享的是有关如何在Ubuntu 20.04上安装OpenCV的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。从Ubuntu仓库安装OpenCV可从默认的Ubuntu 20.04仓库安装OpenCV。要...
    99+
    2023-06-15
  • 如何在Ubuntu Linux上安装MySQL
    如何在Ubuntu Linux上安装MySQL,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。MySQL 是一个典型的数据库管理系统。它被用于许多技术栈中,包括流行的 LAMP ...
    99+
    2023-06-16
  • 在ubuntu 12.04上如何安装MDM
    这篇文章主要为大家展示了“在ubuntu 12.04上如何安装MDM”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“在ubuntu 12.04上如何安装MDM”这篇文章吧。在ubuntu 12.0...
    99+
    2023-06-16
  • 怎么在基于Ubuntu的发行版上安装微软TrueType字体
    这篇文章将为大家详细讲解有关怎么在基于Ubuntu的发行版上安装微软TrueType字体,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。为什么微软字体不被默认安装在 Linux 中?Times New Ro...
    99+
    2023-06-16
  • 如何在 Windows 上安装 Python?
    在 Windows 上安装 Python 是一个非常简单的过程,只需要按照以下步骤进行操作即可。 第一步:下载 Python 安装程序 首先,你需要从官方网站下载 Python 安装程序。在网站的下载页面中,你可以选择不同版本的 Pytho...
    99+
    2023-11-11
    windows npm git
  • 如何在ubuntu 8.04.1 LTS下安装cpu温度监控软件lm-sensors
    本篇内容介绍了“如何在ubuntu 8.04.1 LTS下安装cpu温度监控软件lm-sensors”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有...
    99+
    2023-06-13
  • 如何在Ubuntu系统上安装GitLab
    GitLab是一个基于Web的Git版本控制仓库管理系统,可以让团队更好地协作进行开发。本文将介绍如何在Ubuntu系统上安装GitLab。步骤1:安装必要的依赖项在安装GitLab之前,需要确保您的Ubuntu系统已经安装了必要的依赖项。...
    99+
    2023-10-22
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作