美文网首页
Calibre 安装 (Linux)

Calibre 安装 (Linux)

作者: superrick | 来源:发表于2023-03-21 09:11 被阅读0次

Calibre 介绍

calibre - 关于

系统环境

22.04.1-Ubuntu

执行命令

//下载并执行脚本
$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/
Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall
Run "calibre" to start calibre

//启动calibre
$ calibre

返回异常

qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, minimalegl, vnc, vkkhrdisplay, eglfs, wayland-egl, offscreen, minimal, wayland, linuxfb.

Aborted (core dumped)

修改profile 文件

$ sudo vim /etc/profile
//增加一行
export DISPLAY=:0.0

//保存退出
wq!

//使配置文件生效
$ source /etc/profile
//重新启动
$ calibre

参考

calibre -
Download for Linux

相关文章

网友评论

      本文标题:Calibre 安装 (Linux)

      本文链接:https://www.haomeiwen.com/subject/dkfmrdtx.html