so the archwiki explains that zathura needs the package zathura-pdf-mupdf
for EPUB support.
And this askubuntu thread seems to confirm it works on Ubuntu too.
So I have installed the package thanks to the PPA mentioned in the askubuntu post :
user@host :~/Downloads/test $ > dpkg -s zathura-pdf-mupdf | grep Status
Status: install ok installed
user@host :~/Downloads/test $ > zathura --version
zathura 0.4.3
girara 0.3.2 (runtime: 0.3.2)
(plugin) pdf-mupdf (0.3.4) (/usr/lib/x86_64-linux-gnu/zathura/libpdf-mupdf.so)
And downloaded an example .epub file "Alice in Wonderland" from here.
As you can see below, the file seems to be correctly recognized as an EPUB by my system (as listed here) :
user@host :~/Downloads/test $ > xdg-mime query filetype aliceDynamic.epub
application/epub+zip
However, zathura
looks like it doesn't recognize it as such, and is unable to read the file, even with the zathura-pdf-mupdf
package :
user@host :~/Downloads/test $ > zathura aliceDynamic.epub
error: Unknown file type: 'application/zip'
Do you know what could be the issue ?
System :
- Ubuntu 18.04
From https://en.wikipedia.org/wiki/EPUB
epub
file is a zip archive with many files inside . This is a very common design choice , exampleJAR
files are also a zip file .A solution to fix , is to convert the adobe file EPUB to a EPUB that is readable by zathura .
I tested with
calibre
, so you need :or
Calibre Library
in you home diryou will a epub file and the original epub
This solution was tested on Ubuntu 18.04 lts with same packages you propose .