installing Calibre on Android
I just composed this for a reply to a question on the kindle subreddit, thought it might be of interest here as well. On any of my Android phones (currently a Nexus 6 and a Pixel 3, both running the stock ROM, not rooted) I install the apps from f-droid
Termux (Terminal emulator with packages) - https://f-droid.org/packages/com.termux
AnLinux (Run Linux On Android Without Root Access) - https://f-droid.org/packages/exa.lnx.a
They're also available from Google Play, if you prefer that:
https://play.google.com/store/apps/details?id=com.termux
https://play.google.com/store/apps/details?id=exa.lnx.a
So install Termux, then install anlinux. Then when you run anlinux it'll prompt you to choose which Linux distro to use, I chose Debian.
It'll generate commands for you to paste into the Termux shell.
After that, I run, within Termux, a script that Anlinux created:
$ ./start-debian.sh
And from the shell that started I could run
apt-get install calibre
Posted Oct 13, 2020, 12:20 PM UTC
Thanks for the explanation, I've been interested in trying out AnLinux for a while in a Android tablet so this is a nice thing to try. But I'm wondering something: what's the Calibre version you installed on Debian? Because if it's the same as the one in Raspberry Pi OS (based on Debian Buster) you will have a old one: 3.39.1 when Calibre is now on 5.2. It works perfectly, though.
You're exactly right:
calibre --version calibre (calibre 3.39.1)
As all plugins need to be rewritten for the newest Calibre (to work with the newer version of Python it's written in), and, as you say, the old version still works, I'm content. Hopefully, by the time the Debian package has been updated, the plugin epubmerge (the one I use) will have been updated. Then I'll reinstall.
I haven't tried it but I'm thinking it would probably be possible to get the newest version using the instructions on the calibre site:
Sorry for the silly question, I never used Linux.
I didn't get how to install calibre, than I saw your comment, and I tried to run it, but is says that sudo isn't a command.
Maybe because I installed Ubuntu? What I need to do?
PS: Can I have a visual environment or only the command window?
sudo might not be installed by default. You really don't need sudo to run that - it's easy enough to modify to run with su but if you aren't following any of what I'm saying you might just want to try installing sudo.