To install booktui you will need poppler, to install poppler follow the following instructions
Arch Linux
sudo pacman -S poppler
Debian based
sudo apt-get purge build
sudo apt-get update
sudo apt-get install libpoppler-dev
If you want to read epub files too you'll need epub2txt
Arch Linux
yay -S epub2txt
Other distro
git clone https://github.com/kevinboone/epub2txt2.git
cd epub2txt2
make
sudo make install
Finally the booktui installation
All Distro
cd ~
git clone https://github.com/UnityTheCoder/BookTUI.git
cd BookTUI
python3 -m pip install -r requirements.txt
sudo sudo ln -s ~/BookTUI/main.py /usr/bin/booktui
chmod +x /usr/bin/booktui
rm -rf ~/BookTUI
sudo rm /usr/bin/booktui
booktui update
- New UI
- EPUB support
The usage is really simple
Usage: booktui file.pdf/.epub [OPTIONAL: page_number]
KEYS:
-> = Next page
<- = Previous page
Q = exit
:search = Search a word in text
N = next found word