View Single Post
Old 12-02-2017, 02:22 AM   #1
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,898
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Question on setting up calibre-server on Pi3 running Arch Linux ARM

I am looking to set up a calibre-server instance on a Raspberry Pi3 running Arch Linux ARM. My Calibre library will be rsync'ed over to the Pi from my main Calibre setup on a different computer.

I see a recent version of Calibre is available for easy installation via pacman:
Code:
[root@rpi3b]# pacman -Si calibre
Repository      : community
Name            : calibre
Version         : 3.12.0-2
Description     : Ebook management application
Architecture    : aarch64
URL             : https://calibre-ebook.com/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : python2-six  python2-dateutil  python2-cssutils  python2-dukpy  python2-mechanize  podofo  libwmf  chmlib  python2-lxml  libusbx  python2-html5-parser  python2-pillow  shared-mime-info  python2-dnspython
                  python2-msgpack  python2-pyqt5  python2-psutil  icu  libmtp  python2-dbus  python2-netifaces  python2-cssselect  python2-apsw  qt5-webkit  qt5-svg  python2-regex  python2-pygments  mtdev  python2-unrardll
                  desktop-file-utils  gtk-update-icon-cache  optipng  udisks2
Optional Deps   : ipython2: to use calibre-debug
                  poppler: required for converting pdf to html
Conflicts With  : None
Replaces        : None
Download Size   : 29.53 MiB
Installed Size  : 92.55 MiB
Packager        : Arch Linux ARM Build System <builder+c2@archlinuxarm.org>
Build Date      : Fri 17 Nov 2017 10:24:40 PM MST
Validated By    : MD5 Sum  SHA-256 Sum  Signature
[root@rpi3b]#
I am running Arch Linux so as to be as light as possible to save resources on the Pi.
Command line only. No X. After a quick look at https://manual.calibre-ebook.com/server.html and also "calibre-server --help", it looks like what I'm trying to do is pretty well documented. But the web URL mentions:
Quote:
Note:
The calibre server does not need a running X server, but it does need the X libraries installed as some components it uses link against them.
Quote:
calibre-server --userdb /srv/calibre/users.sqlite --manage-users
But the above output from pacman -Si does not list the X libraries as a dependency. Nor does it list sqlite. Are there other unlisted dependencies as well? Is there documentation somewhere for ALL the dependencies that I will need to install to get a working calibre-server?

Sorry if these are stupid questions. I have decades of Linux experience, but only about two hours of Arch-specific experience. Possibly am I using the wrong options for pacman to list everything I need for Calibre?
haertig is offline   Reply With Quote