网上给出的常见方法:
sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
运行之后/usr/share/fonts/truetype/msttcorefonts目录是空的,并没有成功。
还有一种方式是在Microsoft's TrueType core fonts - Browse Files at SourceForge.net这个网站下载字体,然后:
1、打开2个终端
终端1中输入命令:sudo apt-get install ttf-mscorefonts-installer,先不要执行。
终端2中输入命令:sudo cp ~/ttf/* /tmp/ttf-mscorefonts-installer, 也不要执行。
2、先执行终端1中的命令,然后在终端2里面使用tab键,找到ttf-mscorefonts-installer…的一个目录,然后执行该命令。
但是没生成/tmp/ttf-mscorefonts-installer文件夹。
最后尝试了这种:
wget http://httpredir.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.8_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.8_all.deb
成功。