Octave for Android: Difference between revisions
Jump to navigation
Jump to search
move termux to top because it works on all current devices. Other methods are outdated or device specific
(add that it is specific to samsung) |
(move termux to top because it works on all current devices. Other methods are outdated or device specific) |
||
Line 1: | Line 1: | ||
== 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. | |||
== GNURoot Octave == | == GNURoot Octave == | ||
Line 30: | Line 53: | ||
# 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. | ||
[[Category:Installation]] | [[Category:Installation]] |