I would like to practice mathematica programming on an android phone. Is there a site I can consult that gives feedback on how to go about it and running speed?
2 Answers
There is a Mathematica build for Raspberry Pi OS. In essence that is a version of Mathematica for Debian OS on ARM platform. I can verify that the following works:
- Install Debian on Android using UserLAnd, which by default thinks it runs on arm64 architecture (I'm using an arm64 android device).
- Add armhf architecture by running "dpkg --add-architecture armhf"
- install Mathematica. apt install mathematica.deb file seems to be missing something, but I can force open the deb archive, and extract all files.
- Mathematica runs.
No virtual machine is used here, so Mathematica is running natively on Android.
-
$\begingroup$ I assume only the command line version runs, and perhaps many parts are broken? Can it export graphics? $\endgroup$– SzabolcsFeb 3, 2021 at 14:13
-
1$\begingroup$ You are right: only MathKernel runs. It can't export graphics, which requires Mathematica frontend. But all non-frontend feature of Mathematica I tried so far is working. $\endgroup$ Feb 19, 2021 at 5:59
-
$\begingroup$ Hey. Thanks for posting this. I installed all necessary libs, but I got still kirill@localhost:~$ wolfram ERROR: ld.so: object '/support/libdisableselinux.so' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. /opt/Wolfram/WolframEngine/12.3/SystemFiles/Kernel/Binaries/Linux-ARM/WolframKernel: error while loading shared libraries: libopenblas.so.0: cannot enable executable stack as shared object requires: Permission denied $\endgroup$ Feb 27, 2022 at 0:20
If you have access to Wolfram Cloud, you can run the Wolfram Cloud app which is basically Mathematica.
skhq
$\endgroup$