There are a couple of issues with running that installation script (at least for me):
First, on an atomic linux distribution (like Bazzite), that version will make changes to system files (I'm guessing that's true, simply because it runs as root). The work-around for that is also included on the website (
https://calibre-ebook.com/download_linux ) and is:
Quote:
You can also do an "isolated" install that only touches files inside the installation folder and does not need to be run as root, like this:
|
My other issue is the various dependencies:
From the website:
Quote:
- You must have xdg-utils, wget, xz-utils and Python installed on your system before running the installer.
- If you get an error about Wayland when running calibre from the terminal and calibre does not start, run calibre as QT_QPA_PLATFORM=xcb calibre which will prevent it from using Wayland.
- You need GLIBC 2.34 or higher and libstdc++.so.6.0.30 (from gcc 11.4.0) or higher to run calibre
- If you get an error Could not load the Qt platform plugin xcb you are missing some needed X11-XCB libraries, such as libxcb-cursor0 or libxcb-xinerama0, for details see here.
|
And, on an atomic distribution, getting those dependencies installed (and for me, even figuring out if I have them installed) will take some finagling. Having a flatpak of Calibre (which includes all its dependencies) gets rid of that issue. So, I'm using the unofficial flatpak from Bazzite's Bazaar (which pulls it from Flathub). I just wish there were an official version.
EDIT 1: I've been contemplating using the isolated install command in a distrobox. I've already got a Debian distrobox running for Signal (same reason -- the Signal flatpak is unofficial). So, I'd just have to work my way through seeing if the dependencies are all in that distrobox, installing them, if necessary, and running that script. But, using a flatpak is a whole lot easier on me.
EDIT 2: Another option might be Homebrew. There appears to be a cask for calibre (EDIT: oops, that cask appears to be just for Mac), but I'm entirely clueless about Homebrew and what it does:
https://formulae.brew.sh/cask/calibre