Calibre的Linux安装error:libxcb-xinerama0及解决方法

前言

喜欢阅读电子书的朋友,如果碰到epub格式的文本还好,但是如果遇到mobiawz3格式,可能会苦恼于没有好的电子书阅读器。

Calibre是一款功能强大且易用的电子书管理器,提供格式转换、编辑和阅读的功能–最好用的电子书开源阅读器。

下载点此处,支持Windows、macOS、Linux三大平台。

Linux下安装

输入如下命令:

sudo -v && wget --no-check-certificate -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

在Ubuntu中输入上述命令后,见到如下则为安装成功。
Calibre的Linux安装error:libxcb-xinerama0及解决方法_第1张图片

安装error:error Could not load the Qt platform plugin xcb you are missing some needed X11-XCB libraries, such as libxcb-xinerama0

当我们在终端输入calibre可能出现的错误:

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.

解决方法

安装libxcb-xinerama0,执行如下命令:

sudo apt-get install libxcb-xinerama0

重新打开calibre,问题解决。

你可能感兴趣的:(一些错误及解决方案,ubuntu,linux,软件安装)