在ubuntu上安装calibre

安装calibre 报错

我使用的发行版是elementary OS 7.1 ,基于 Ubuntu 22.04.3 LTS 构建,按照calibre官方给的安装文档

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

安装后系统会提示报错,无法安装

Using python executable: /usr/bin/python3
2024-04-15 09:14:51 URL:https://download.calibre-ebook.com/linux-installer.sh [34233/34233] -> "-" [1]
You are missing the system library libxcb-cursor.so.0. Try installing packages such as libxcb-cursor0 or xcb-cursor

解决办法

按照错误提示,只要安装这个包就可以了

sudo apt install libxcb-cursor0

安装完成后既可以使用官方给的脚本安装calibre了。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注