Editing Octave for Android
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Termux == | == Termux == | ||
[https://termux.com Termux] is a Terminal Emulator for Android. You can install it from [https:// | [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 don't need a rooted device to use Octave with Termux. | ||
=== Direct Octave installation === | === Direct Octave installation === | ||
Line 8: | Line 8: | ||
<syntaxhighlight lang="shell"> | <syntaxhighlight lang="shell"> | ||
wget https://its-pointless.github.io/setup-pointless-repo.sh | wget https://its-pointless.github.io/setup-pointless-repo.sh | ||
sh setup-pointless-repo.sh | sh setup-pointless-repo.sh | ||
apt install octave | |||
</syntaxhighlight> | </syntaxhighlight> | ||
However, graphics capabilities are not available with this approach. It would only plot with ASCII characters in the terminal. | |||
=== Via some Linux distribution === | |||
[[ | Inside Termux in Android, you can install a Linux distribution like Debian, Ubuntu, Arch or Alpine. Note that Alpine consumes relatively less disk space. Octave can be installed as described in [[Octave for GNU/Linux]] from the distribution's respective package manager. | ||
To use Octave's graphical capabilities, the installation of a desktop environment and the usage of a VNC Server is required. 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. Refer to the [https://docs.andronix.app/vnc/vnc-basics Andronix docs] for an overview of setting up the VNC server. | |||
To use Octave's graphical capabilities, | |||
== GNURoot Octave == | == GNURoot Octave == |