Octave for Android: Difference between revisions

Jump to navigation Jump to search
Restructure Termux article for comprehension.
(update with more choices)
(Restructure Termux article for comprehension.)
Line 1: Line 1:
== Octave on Termux ==
== 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].
[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].
=== Direct Octave installation ===
You can directly install Octave in Termux using the repository by [https://github.com/its-pointless/gcc_termux its-pointless].
You can directly install Octave in Termux using the repository by [https://github.com/its-pointless/gcc_termux its-pointless].


<code>
<syntaxhighlight lang="shell">
wget https://its-pointless.github.io/setup-pointless-repo.sh
wget https://its-pointless.github.io/setup-pointless-repo.sh
</code>
<code>
sh setup-pointless-repo.sh
sh setup-pointless-repo.sh
</code>
<code>
apt install octave
apt install octave
</code>
</syntaxhighlight>


However, graphics capabilities are not available in this.
However, graphics capabilities are not available with this approach.


== Octave running in a Distro in Termux ==
=== Via some Linux distribution ===


You can install a distro like Debian, Ubuntu, Arch or Alpine (this consumes less disk space) inside Termux in Android, and then install Octave from the package manager of that distro. You can also install desktop environments, and use VNC Server to use Octave's graphical capabilities.  In many android devices, only the graphics toolkit "gnuplot" works.
Inside Termux in Android, you can install a Linux distribution like Debian, Ubuntu, Arch or Alpine (this consumes less disk space).  Octave can be installed as descried in [[Octave for GNU/Linux]] from the distribution's respective package manager.


Several apps (e.g. [https://github.com/EXALAB/AnLinux-App Anlinux], [https://andronix.app/ Andronix]) are available to easily install the distro of your choice, and setting up the desktop environment.
To use Octave's graphical capabilities, the installation of a desktop environment and the usage of a VNC Server is required.  (Please add more information how to do this here.)  On many android devices, only the graphics toolkit "gnuplot" is known to work.  Several apps (e.g. [https://github.com/EXALAB/AnLinux-App Anlinux], [https://andronix.app/ Andronix]) are available to easily install the Linux distribution of your choice, and setting up the desktop environment.


== GNURoot Octave ==
== GNURoot Octave ==

Navigation menu