Octave for Android: Difference between revisions

From Octave
Jump to navigation Jump to search
(Drop Samsung Linux on Dex https://www.omgubuntu.co.uk/2019/10/samsung-linux-dex-cancelled)
m (root is not required)
Line 1: Line 1:
== 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]. You don't need a rooted device to use Octave with Termux.


=== Direct Octave installation ===
=== Direct Octave installation ===
Line 17: Line 17:
=== Via some Linux distribution ===
=== Via some Linux distribution ===


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.
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 descrbied 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.  (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.
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.

Revision as of 06:04, 19 February 2021

Termux

Termux is a Terminal Emulator for Android. You can install it from Play store or F-Droid. You don't need a rooted device to use Octave with Termux.

Direct Octave installation

You can directly install Octave in Termux using the repository by its-pointless.

wget https://its-pointless.github.io/setup-pointless-repo.sh
sh setup-pointless-repo.sh
apt install octave

However, graphics capabilities are not available with this approach.

Via some Linux distribution

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 descrbied 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. (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. Anlinux, Andronix) are available to easily install the Linux distribution of your choice, and setting up the desktop environment.

GNURoot Octave

The Android app 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:

The implementation has been done in close cooperation with the Octave developers and makes use of the Octave source code without essential changes. Thus, it is fully compatible with the versions of Octave on other platforms.

Some probably outdated build instructions for the older "octave4android" app: