首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Ubuntu 18上安装miktex

无法在Ubuntu 18上安装miktex
EN

Unix & Linux用户
提问于 2020-04-16 19:44:51
回答 1查看 1K关注 0票数 1

最终的目标是将HTML转换为PDF。我看到了这个解决方案:

https://github.com/SebastiaanKlippert/go-wkhtmltopdf

但上述解决方案似乎需要无头铬才能运行。因此,我将尝试使用潘多克,然后使用miktex从HTML生成TeX?

但是当我安装miktex时,我得到:

代码语言:javascript
复制
$  sudo apt-get install miktex
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 miktex : Depends: libcurl3 (>= 7.16.2) but it is not installable
          Depends: libhunspell-1.4-0 but it is not installable
          Depends: libicu57 (>= 57.1-1~) but it is not installable
          Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
          Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.

有人知道如何解决这个依赖问题吗?

EN

回答 1

Unix & Linux用户

发布于 2020-04-16 22:14:52

您需要启用universe存储库:

代码语言:javascript
复制
sudo add-apt-repository universe
sudo apt install miktex
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/580542

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档