在ubuntu上安装msttcorefonts

前端之家收集整理的这篇文章主要介绍了在ubuntu上安装msttcorefonts前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用名为 @L_301_0@的东西生成PDF,它似乎是 it requires一个名为:msttcorefonts的包

我一直无法使用aptitude来获取它,我将此作为错误收回:

$sudo apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package msttcorefonts is not available,but is referred to by another package.
This may mean that the package is missing,has been obsoleted,or
is only available from another source
E: Package msttcorefonts has no installation candidate

如何安装此软件包?

2015年更新:

将此添加到(或取消注释)/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security multiverse

然后运行:

sudo apt-get update
sudo apt-get install msttcorefonts

猜你在找的Ubuntu相关文章