System:
Linux Mint 21.3 'virginia' Cinnamon Edition
Shell:
KornShell 93 (ksh93u+m/1.0.10 2024-08-01)
====================
The 'Download for Linux' page said to enter the following command to perform a 'Binary install':
sudo -v && wget -nv -O-
https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
My system responded with:
sh: 0: cannot open /dev/stdin: No such device or address
Redirecting output to ‘wget-log’.
The contents of wget-log is:
Cannot write to ‘-’ (Success).
I think that is because I am using ksh93 and not zsh or bash.
====================
I then tried to do a 'Manual binary install':
1) Downloaded the required 8.10.0 tarball (64bit Intel).
2) Entered the documented command after making the required changes:
from) sudo mkdir -p /opt/calibre && sudo rm -rf /opt/calibre/* && sudo tar xvf /path/to/downloaded/calibre-tarball.txz -C /opt/calibre && sudo /opt/calibre/calibre_postinstall
to) sudo mkdir -p /home/atishtum/bin/calibre && sudo rm -rf
/home/atishtum/bin/calibre/* && sudo tar xvf /home/atishtum/Downloads/calibre-8.10.0-x86_64.txz -C /home/atishtum/bin/calibre && sudo /home/atishtum/bin/calibre/calibre_postinstall
3) A check of the output looked Okay so I tried starting Calibre from the Menu. Nothing happened.
4) Opened a terminal window and entered the command: calibre
5) The following was displayed in the terminal window:
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
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: minimal, minimalegl, eglfs, wayland-egl, wayland, vnc, linuxfb, xcb, offscreen, vkkhrdisplay.
Abort(coredump)
====================
The only option I can think of is to use the uninstall script that was created by the install and then use Software Manager to install the Flatpak version in the Mint Repository even though it is 8.9.0 and requires 2.1 GB of disk space.