Octave for Android: Difference between revisions

Jump to navigation Jump to search
1,108 bytes added ,  23 August 2020
make octave on termux and distro in termux in separate
(Switch order. Add Category:Installation.)
(make octave on termux and distro in termux in separate)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== GNURoot Octave ==
== GNURoot Octave ==


The Android app [https://play.google.com/store/apps/details?id=com.gnuroot.octave GNURoot Octave] in the Google play store is built and maintained by Corbin Champion. It is not part of the GNU Octave project. Thus please use the following GitHub pages for questions and bug reports:
The Android app [https://play.google.com/store/apps/details?id=com.gnuroot.octave GNURoot Octave] in the Google play store is built and maintained by Corbin Champion. However, note that these repositories have not been updated for several years. It is not part of the GNU Octave project. Thus please use the following GitHub pages for questions and bug reports:


* https://github.com/corbinlc/GNURootDebian
* https://github.com/corbinlc/GNURootDebian
Line 29: Line 29:
# If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue <code>export GNUTERM=x11</code> in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add <code>setenv GNUTERM x11</code> to your {{Path|.octaverc}} file to do this automatically.
# If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue <code>export GNUTERM=x11</code> in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add <code>setenv GNUTERM x11</code> to your {{Path|.octaverc}} file to do this automatically.
# If you want to use Qt graphics it will take some work, and may or may not be possible. It has not been tested by anyone. You will need to download the package [https://github.com/termux/libandroid-shmem libandroid-shmem], get it working, and then recompile Octave linking to this library. There are more detailed instructions regarding the compilation on the github website.
# If you want to use Qt graphics it will take some work, and may or may not be possible. It has not been tested by anyone. You will need to download the package [https://github.com/termux/libandroid-shmem libandroid-shmem], get it working, and then recompile Octave linking to this library. There are more detailed instructions regarding the compilation on the github website.
== Octave on Termux ==
[https://termux.com Termux] is a Terminal Emulator for Android. You can install it from [https://play.google.com/store/apps/details?id=com.termux Play store] or [https://f-droid.org/repository/browse/?fdid=com.termux F-Droid].
You can directly install Octave in Termux using the repository by [https://github.com/its-pointless/gcc_termux its-pointless].
<code>
wget https://its-pointless.github.io/setup-pointless-repo.sh
</code>
<code>
sh setup-pointless-repo.sh
</code>
<code>
apt install octave
</code>
However, graphics capabilities are not available in this.
== Octave running in a Distro in Termux ==
You can [https://github.com/EXALAB/AnLinux-App install a distro] like Debian, Ubuntu, Arch or Alpine (this consumes less disk space), and then install Octave from the package manager of that distro. You can also install desktop environments with the Anlinux app, and use VNC Server to use Octave's graphical capabilities.  In many android devices, only the graphics toolkit "gnuplot" works.


[[Category:Installation]]
[[Category:Installation]]
19

edits

Navigation menu