Termux:
an Android terminal emulator and Linux environment app that works directly with no rooting
seems to work on Onyx Boox Max 2 devices -- I presume that the same will hold on the Note devices too. (IIUC, the minimum requirements for Termux are currently Android 5.x.)
Example installation and use:
- Install termux and hacker's keyboard (e.g. via f-droid)
- Start termux
- Pinch zoom to adjust font size
For getting git, vim, and emacs to work:
- Start termux
- Install by: pkg install git vim emacs
For getting python and jupyter to work:
- Start termux
- Install wget and gnupg2: pkg install wget gnupg2
- Get repository setup script: wget https://its-pointless.github.io/setup-pointless-repo.sh
- Run script: bash setup-pointless-repo.sh
- Install some termux packages: pkg install scipy numpy clang python-dev fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config
- Install some bits via pip: LDFLAGS=" -lm -lcompiler_rt" pip install matplotlib pandas jupyter
Step 6 kept failing here due to network issues but breaking the command up into three pieces seemed to work better.
For browser access to a jupyter notebook, haven't had luck with IceCat, but Lightning seems to work fine.
For jupyter notebook extensions:
- Start termux
- Install libxml2-dev and libxslt-dev: pkg install libxml2-dev libxslt-dev
- Set up work-around symlink: ln -S $PREFIX/include/libxml2/libxml $PREFIX/include/libxml
- Install extensions via pip: LDFLAGS=" -lm -lcompiler_rt" pip install jupyter_contrib_nbextensions
- Copy .js and .css: jupyter contrib nbextensions install --user
--------
On a related note, I had problems while installing python(-dev?):
PermissionError: [Errno 13] Permission denied: '/'
on a rather different device, but found a work-around at:
I believe it was:
$PREFIX/bin/python -m ensurepip --upgrade --default-pip
--------
References:
https://wiki.termux.com/wiki/Package...e_the_dream.29
http://www.leouieda.com/blog/scipy-on-android.html
http://jupyter-contrib-nbextensions....t/install.html
https://github.com/termux/termux-packages/issues/1142