|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
|
I'm not a software dev, but I'm curious why Calibre for Linux doesn't use an Appimage or Flatpak release. I read the Linux install notes on https://calibre-ebook.com/download_linux, and the question occurred to me. If Calibre is going to use custom copies of its needed dependencies, why not use one of those packaging formats? It seems like the app would be easier for users to update that way. Besides that the only reason I see people dis those packaging formats is that they require the extra space for all their necessary dependencies to run. So if we're going to have the extra footprint, why not have easy updates? Idk.
I am not claiming this is what should be done btw. I'm not a dev, and I don't think I somehow know better. I only switched to Linux in 2024, so please educate me if I'm missing something. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,021
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
The best way is to run the installation script described on the official website every time Calibre notifies you of an update:
Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin If you use this method, you'll have Calibre updated on the same day as the notification. The formats you mentioned often take more than a week to update. |
|
|
|
| Advert | |
|
|
|
|
#3 | ||
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 812
Karma: 1538536
Join Date: Sep 2013
Device: Kobo Sage
|
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:
From the website: Quote:
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 Last edited by enuddleyarbl; Today at 11:46 AM. |
||
|
|
|
|
|
#4 |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 660
Karma: 719376
Join Date: Dec 2017
Device: Kobo
|
The reason Calibre does not have an official Appimage or Flatpak is because Calibre embeds itself all its dependencies rather than using a dependency tree, aka Appimage/Flatpak install the say dependcies individualy so that can be updated outside of Calibre.
The advantage of the official method is that it allows Calibre to be much more stable and easier to install on a wide variety of distro. Unfortunately, however, this approach is not very Linux-like, and therefore it not allowed. The main conter-part is that the official script need to be manualy run at every update, not that much, but it a thing. Depending of your distro, you can get unoficial package that support auto-update and use the offical script: Appimage: ivan-hc/Calibre-appimage Arch Aur: calibre-bin This two are updated in 24h range. Last edited by un_pogaz; Today at 07:01 AM. |
|
|
|
|
|
#5 |
|
Enthusiast
![]() ![]() Posts: 29
Karma: 100
Join Date: Mar 2025
Device: Kobo Clara BW
|
I have calibre on Windows and Linux (mint)
The time it takes to go to the website, ctrl-c, open a terminal and ctrl v, enter password, hit enter on Linux is quicker than downloading the install file, double clicking, clicking yes to allow it to make changes, clicking next etc etc on Windows I mean it's not much of a hassle on Windows either. But the copy and paste script is certainly no harder or longer |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 660
Karma: 719376
Join Date: Dec 2017
Device: Kobo
|
Quote:
Here's why you use a Package Manager, like it the great norm on Linux: you just need to do a simple action/click a button and all your programs on the PC is updated without have to go on the webpage, download the installer/manualy run a script for each of them. Now, here the thing: Package Manager require to download/use a AppImage. And the way of how Calibre work make that none official package can be made, shared and used (or more precisely, any official AppImage will be rejected by the vast majority of Package Manager). Last edited by un_pogaz; Today at 08:39 AM. |
|
|
|
|
|
|
#7 |
|
Enthusiast
![]() ![]() Posts: 29
Karma: 100
Join Date: Mar 2025
Device: Kobo Clara BW
|
My point is that it is no worse than the windows option. That doesn't auto update either
|
|
|
|
|
|
#8 |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,336
Karma: 113121807
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
|
|
|
|
|
#9 | |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,336
Karma: 113121807
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
|
|
|
|
|
|
|
#10 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,021
Karma: 1084520
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Then your problem lies with your Linux distribution. There are no problems with Linux Mint, Ubuntu, Debian, EndeavourOS, or Manjaro; I can't say for sure about others.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Port Linux App or Java App? | cyclops0000 | Kindle Developer's Corner | 5 | 12-29-2014 02:32 PM |
| Calibre on Linux - Updating app | alittlehelppleas | Calibre | 9 | 01-20-2014 03:27 PM |
| Wine, Linux and Kobo Desktop App | fbrII | Kobo Reader | 7 | 12-27-2012 04:42 AM |
| Managed to run Kindle app on Linux | jocampo | Amazon Kindle | 12 | 04-26-2011 11:17 AM |
| linux app won't synch with reader | luqmaninbmore | Kobo Reader | 1 | 07-02-2010 12:27 AM |