我遇到了 unoconv,它应该可以完成这项工作,但我收到以下错误:-
unoconv -f pdf /home/bill/GWL-letter.odt
unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL </home/bill/GWL-letter.odt>: "from LoadEnv::initializeLoading"
~~
GWL-letter.odt 在 Office Writer 中打开并导出为 pdf。没有问题,pdf 文件很好
: $ unoconv -f pdf /home/bill/GWL-letter.odt
~~
unoconv: RuntimeException during import phase:
Office probably died. Unsupported URL </home/bill/GWL-letter.odt>: "from LoadEnv::initializeLoading"
答案1
如果尚未安装,请安装 libreoffice-writer:
sudo apt-get install libreoffice-writer
是否反卷积与 libreoffice 一起安装,运行一次即可完成配置。