Install Termux on Android - eliranwong/UniqueBible Wiki
Install Termux on Android
You can run UniqueBible.app via Termux on Android
This wiki page briefly describe how to install Termux on Android device.
Do NOT use Play Store to Install Termux
The play store version of Termux no longer work on latest Android versions.
We prefer the following method to install Termux
FIRST, Give Permission to Chrome App
We will describe how to install the Termux apk file via Chrome app, but first you need to enable your Chrome app to install unknown app.
Go to "Settings > Apps and notifications > Special app access > Install unknown apps"
Enable "Allow from this source"
Remarks: You may disable this feature after you install Termux app.
Install Termux App
Launch Chrome on your Android device.
Go to official Termux GitHub release page: https://github.com/termux/termux-app/releases
Download the "universal" version from the list under "Assets"
After the file is downloaded, select it from Chrome download list
Launch Termux and run,
pkg install root-repo
pkg install x11-repo
Update and Upgrade
Launch the newly installed Termux app
Run "apt update && apt full-upgrade"
Answer "Y" in all prompts until finish
Install Basic Packages
To install packages, required for setting up UBA, launch Termux and run:
pkg install python git binutils libxslt libjpeg-turbo libpng build-essential clang make pkg-config curl wget lynx w3m elinks vlc xclip xsel
Run Unique Bible App via Termux
You can run Unique Bible App in the following modes:
HTTP/Web mode - UBA acts as a web server and can be accessed by browsers.
python uba.py http-server
Terminal mode - A command line mode, running locally, where all input and output is text based, without Qt library.
python uba.py terminal
Telnet mode - UBA acts as a telnet server and can be accessed by telnet clients.
python uba.py telnet-server
You may place the following line in file '/data/data/com.termux/files/home/.bashrc':
python /data/data/com.termux/files/home/UniqueBible/uba.py http-server & disown
alias uba="python /data/data/com.termux/files/home/UniqueBible/uba.py terminal"
With these two lines in place, http-server automatically starts when you start a Termux session.
In addition, you can simply run commands like below to launch terminal mode:
uba John 3
Change Text Size
"... text size can be adjusted by pinch zooming ..."