Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2015, 11:39 AM   #1
Queso
Member
Queso began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2015
Device: Onyx Boox M96C
Use latest calibre release? Or the packaged Debian version?

Hi! I've just gotten a new Onyx Boox M96C. It's my first e-reader. I got it (mainly) to read PDF books from places like archive.org and academic journal articles in PDF form. Now I need to manage my new collection of downloaded files and I've read good things about calibre.

Right now I'm on Debian Wheezy. Jessie will probably be released in the next few months. Jessie has frozen calibre 2.5. So I'm thinking of "manually" installing calibre 2.5 (using the installation scripts available from the calibre site) on my Wheezy machine for now and, when I upgrade to Jessie, just stick with the packaged version of 2.5. In general, I prefer to let Debian manage my software via aptitude. So this is my current plan.

Question: Or, is there a compelling reason that I should instead track with the release version of calibre and not use the Debian packages? Keep in mind I'm completely new to calibre and haven't used it for anything yet! Thanks for your help.
Queso is offline   Reply With Quote
Old 03-06-2015, 12:23 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Some reasons to use the official release instead of a distro release:
  • Distro packages often have bugs introduced during packaging.
  • Kovid (author of calibre) won't support distro packages.
  • You won't have access to bug fixes.
  • You won't have access to features added after the distro release.
Take a look at calibre's change log to get an idea of how fast calibre moves and what you will be missing by sticking on 2.5 (current release is 2.20).

On the other hand, if that release works for you and you aren't interested in anything in a later release then have at it.
chaley is offline   Reply With Quote
Advert
Old 03-06-2015, 01:16 PM   #3
Queso
Member
Queso began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2015
Device: Onyx Boox M96C
Thanks for your reply, chaley. Some of your points apply to all Debian-packaged software, so for some things like Firefox and VirtualBox I do track the releases instead of using the default package versions.

Can you comment on ease of upgrading your library from one version to another? If I sit on 2.5 for a year and decide, hey, the latest version has a compelling to feature, will my Calibre Library/ upgrade safely? Is that supported? Or should it be upgraded from a more recent version? Or is that directory/format very stable and there are rarely changes? Thanks!
Queso is offline   Reply With Quote
Old 03-06-2015, 01:32 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm assuming that any distro-specific package for calibre is probably going to rely on the system included/installed Qt5 libraries. The Qt5 libs distributed with the official calibre installer include modifications to work around some issues and bugs with the official Qt5. I'm guessing that alone might introduce plenty of potential problems with distro-delivered calibre.
DiapDealer is offline   Reply With Quote
Old 03-06-2015, 02:51 PM   #5
Queso
Member
Queso began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Feb 2015
Device: Onyx Boox M96C
Ah, interesting, I wasn't aware of that. Perhaps I will go with calibre release then. Thanks for all the input.

Although, it sure would be nice if the calibre releases could be packaged -- this can be done without any reliance on other packages, I believe.

Oh, ha, I didn't even realize you could install it in your home dir and not as root. That answers that question, that's what I'll do.

But it is a bit scary to just run scripts directly downloaded from github...

Last edited by Queso; 03-06-2015 at 03:05 PM.
Queso is offline   Reply With Quote
Advert
Old 03-06-2015, 03:20 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Queso View Post
Ah, interesting, I wasn't aware of that. Perhaps I will go with calibre release then. Thanks for all the input.

Although, it sure would be nice if the calibre releases could be packaged -- this can be done without any reliance on other packages, I believe.

Oh, ha, I didn't even realize you could install it in your home dir and not as root. That answers that question, that's what I'll do.

But it is a bit scary to just run scripts directly downloaded from github...
The binary install uses a signed certificate.

bernie
gbm is offline   Reply With Quote
Old 03-06-2015, 03:37 PM   #7
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 3,281
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
Quote:
Originally Posted by gbm View Post
The binary install uses a signed certificate.
+1 As far as I know, nobody has been burned with the binary install from Kovid's github.
jgaiser is offline   Reply With Quote
Old 03-06-2015, 03:37 PM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by DiapDealer View Post
I'm assuming that any distro-specific package for calibre is probably going to rely on the system included/installed Qt5 libraries. The Qt5 libs distributed with the official calibre installer include modifications to work around some issues and bugs with the official Qt5. I'm guessing that alone might introduce plenty of potential problems with distro-delivered calibre.
Nope,

Quote:
Originally Posted by kovidgoyal View Post
That was changed for 2.x and Qt 5

The calibre linux releases are now built on a debian VM with all the bundled dependencies hand compiled by me, using upstream packages (i.e. not debian packages).

As for the OP's problem, almost certainly a library dependency issue (use LD_DEBUG=all to get more information, or just use the calibre binary packages and save yourself lots of headaches).
Qt workarounds are in the calibre source code itself.

Install-from-source is officially sanctioned and is supposed to get you the same results as the binary packages -- absent downstream bugs introduced by packagers.
eschwartz is offline   Reply With Quote
Old 03-06-2015, 03:41 PM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by eschwartz View Post
Qt workarounds are in the calibre source code itself.

Install-from-source is officially sanctioned and is supposed to get you the same results as the binary packages -- absent downstream bugs introduced by packagers.
All the bug reports from people using Arch that has qt 5.4.1 argue against what you say. Perhaps these people aren't using install-from-source?
chaley is offline   Reply With Quote
Old 03-06-2015, 03:45 PM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Queso View Post
Can you comment on ease of upgrading your library from one version to another? If I sit on 2.5 for a year and decide, hey, the latest version has a compelling to feature, will my Calibre Library/ upgrade safely? Is that supported? Or should it be upgraded from a more recent version? Or is that directory/format very stable and there are rarely changes? Thanks!
It is trivial to upgrade a Kovid-provided calibre version to another. I am not sure that is the case when switching from a distro package to the Kovid-provided version. Are the paths the same? Does uninstalling the distro package remove the configuration directory? Where *is* the configuration directory when using a distro package? Where is the library when using a distro package? Did the distro package change anything significant? And so on.

Last edited by chaley; 03-06-2015 at 05:08 PM. Reason: fix typo
chaley is offline   Reply With Quote
Old 03-06-2015, 04:45 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Queso View Post
Ah, interesting, I wasn't aware of that. Perhaps I will go with calibre release then. Thanks for all the input.

Although, it sure would be nice if the calibre releases could be packaged -- this can be done without any reliance on other packages, I believe.

Oh, ha, I didn't even realize you could install it in your home dir and not as root. That answers that question, that's what I'll do.

But it is a bit scary to just run scripts directly downloaded from github...
As long as you trust Kovid, I don't see the problem.

Also, GitHubbed code is scrutinized, you can bet if there are problems then packagers and busybodies would see it -- considering how popular calibre is, it is assured.

GitHub has well-secured servers, no need to fear MITM, and the release itself is downloaded with plain old HTTP but verified with a signature downloaded over HTTPS (signed inside the GitHub script).

Also, you want it packaged for automated updating? See: Fully automatic calibre installer/updater for linux

Asking Kovid to provide repo packaging for debian/*buntu/mint ppas, as well as RPMs for fedora/opensuse, and Arch Linux PKGBUILDs, and Gentoo ebuilds, is a little ridiculous -- and unusual, because that is what the repo managers are for. They slack off.

Note -- Arch Linux and Gentoo and some others are rolling-release and bleeding edge so updates happen in a timely manner.
For that matter, there is debian unstable as well.
eschwartz is offline   Reply With Quote
Old 03-06-2015, 04:45 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
Nope,

Qt workarounds are in the calibre source code itself.
I'm sure you're right, but there must be some advantage to distributing a custom-configured/compiled version of Qt5 to platforms to that already have (or can easily get) a version that can work equally well, no?

Don't get me wrong; I'm no Linux purist. I'm perfectly fine with packaging custom system libs like Qt up with software installation programs on Linux platforms, but I'm going to assume it's being done for something other than practice.
DiapDealer is offline   Reply With Quote
Old 03-06-2015, 04:51 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by chaley View Post
All the bug reports from people using Arch that has qt 5.4.1 argue against what you say. Perhaps these people aren't using install-from-source?
Because Kovid packages Qt 5.4.0...
And he added fixed it.

(How would they install it if not from source -- vs from precompiled binaries?)
eschwartz is offline   Reply With Quote
Old 03-06-2015, 04:54 PM   #14
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by chaley View Post
It is trivial to upgrade a Kovid-provided calibre version to another. I am not sure that is the case when switching from a distro package to the Kovid-provided version. Are the paths the same? Does uninstalling the distro package remove the configuration directory? Where *is* the configuration directory when using a distro package? Where is the library when using a distro package? Did the distro package channge anything significant? And so on.
Distro packagers may do some weird patches, but none of them (yet) have rewritten calibre to remove the library switcher and so forth.

All they install is the progam binaries linked to system python, qt, etc.
eschwartz is offline   Reply With Quote
Old 03-06-2015, 04:56 PM   #15
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by DiapDealer View Post
I'm sure you're right, but there must be some advantage to distributing a custom-configured/compiled version of Qt5 to platforms to that already have (or can easily get) a version that can work equally well, no?

Don't get me wrong; I'm no Linux purist. I'm perfectly fine with packaging custom system libs like Qt up with software installation programs on Linux platforms, but I'm going to assume it's being done for something other than practice.
Yes, the advantage is that it has all been tested and works whereas packagers can introduce bugs through *well-intentioned* changes. So no matter where your distro is or what they do or how much they tend to laaaaaaaaaaaaaaaag, calibre works and is at the latest version, without clashing with anything else. Most packages IMHO could use a version like that, especially what with most distros freezing the system at a certain point.

Which is basically what this thread is about.

Just pointing out that Kovid hasn't gone on a rampage trying to make it hard for downstream packagers. He lets them make their own problems if they wish.


And FWIW, I use Kovid's binaries, despite using Arch Linux (a bleeding-edge distro) and will continue to do so until the repo maintainers fix a stupid packaging bug and I can trust it will work properly.

Last edited by eschwartz; 03-06-2015 at 05:02 PM.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I update Calibre to the latest version? nsivakr Calibre 18 02-22-2017 11:07 AM
What is the latest version of Calibre? gameman Conversion 5 12-14-2013 10:29 PM
Latest version of Calibre? BeeTee-Ess Calibre 5 12-31-2011 03:25 AM
Calibre appearence - type too small in latest version jjsimon Calibre 5 11-21-2010 04:19 PM
Latest Version of Calibre and Stanza Problem MerLock Calibre 9 07-27-2010 04:36 AM


All times are GMT -4. The time now is 04:30 AM.


MobileRead.com is a privately owned, operated and funded community.