Since I'm quite happy with calibre (which mostly covers the same use-cases; for reading comics I'm using something else) I haven't tried to install it. But the instructions seem reasonably clear to me. You need python 3.6 (check what version your python3 is), PyQT5 (package python3-pyqt5), python-lxml (package python3-lxml), python-beautifulsoup4 (package python3-bs4) and python-xmltodict (package python3-xmltodict). Check the versions of the software in the packages against the versions listed on the github-page with 'apt show'. On 18.04 the versions look about right. pymupdf - which is labeled as an optional component - is probably a bit more complicated to install, I couldn't find it in the repos.
If the versions are sufficient the first step is to 'apt install' all the dependencies:
Code:
sudo apt install python3-pyqt5 python3-lxml python3-bs4 python3-xmltodict
Next you need to clone the git-repository:
Code:
git clone https://github.com/BasioMeusPuga/Lector.git
this will create a directory named Lector and download the files into it. Change into that directory.
You can check whether the program works with
Code:
python3 lector/__main__,py
If it does, install it with
Code:
python3 setup.py build
sudo python3 setup.py install
This should install it and put a .desktop-file in some useful location so you should be able to call it from your DE.
Bookmarks