Changes

Jump to navigation Jump to search
199 bytes removed ,  00:27, 23 October 2019
m
Siko1056 moved page Android to Octave for Android: Adapt title to current standards.
== GNURoot Octave for Linux on Dex (Samsung Android devices) ==
Linux on Dex (LoD) is an application that runs on some The Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website app [https://wwwplay.linuxondexgoogle.com to see if your device /store/apps/details?id=com.gnuroot.octave GNURoot Octave] in the Google play store is supportedbuilt and maintained by Corbin Champion. Linux on Dex It is still in beta testing, so not part of the information below may changeGNU Octave project. Thus please use the following GitHub pages for questions and bug reports:
To build Octave on LoD, do the following* https://github. This assumes you have LoD working. If not, follow the instructions on the LoD websitecom/corbinlc/GNURootDebian* https://github.com/corbinlc/octave4android
1. Many The implementation has been done in close cooperation with the Octave developers and makes use of the packages that Octave needs are not in the default Ubuntu installationsource code without essential changes. You will need to install them using "sudo apt install <package>". FirstThus, you need it is fully compatible with the compilers gcc, and gfortran. There are versions of Octave on other packages that are essential to download: "libblas", "liblapack", "libatlas" and their development counterparts with the "-dev" extensionplatforms.
2. Remove all Some probably outdated build instructions for the older "libopenblasoctave4android" packages with "sudo apt remove libopenblas*". The OpenBLAS library in the default Ubuntu distribution does not work with Octave. You have to remove it. See details here: httpsapp://savannah.gnu.org/bugs/?56900
3. Unpack the Octave source code and enter the directory. Make a directory "mkdir my_build", enter that directory and issue "* https://lists.gnu.org/configure". This will start the configure script. Look at the output at the end of the configure process to see what packages are not found by the script. Many of these will be things you wantarchive/need in terms of functionality. You can search for the packages available using the command "apt search", and install the ones you want using "sudo apt install <package>" before compiling. If you want to install Octave in "my_build" be sure to issue "..html/configure octave-maintainers/2013-prefix=`pwd`" from this directory10/msg00406.html
4. In the "my_build" directory issue "make" and "make install".== Octave for Linux on Dex (Samsung Android devices) ==
You should now have a working installation in, e.g., /home/dextop[https:/path_to/octave-5www.1linuxondex.0/my_buildcom/Linux on Dex (LoD)] is an application (beta testing status) that runs on some Samsung Android devices.
Graphics:To build Octave on LoD, do the following. This assumes you have LoD working. If not, follow the instructions on the LoD website.
1# Many of the packages that Octave needs are not in the default Ubuntu installation. You will need to install them using <code>sudo apt install <package></code>. If First, you set need the graphics toolbox compilers gcc, and gfortran. There are other packages that are essential to download: "libblas", "gnuplotliblapack", "libatlas" and their development counterparts with the "-dev" extension.# Remove all "libopenblas" packages with <code>sudo apt remove libopenblas*</code>. The OpenBLAS library from the default Ubuntu distribution does not work with Octave should generate plots correctly. If You have to remove it does not. For details see bug {{bug|56900}}.# Unpack the Octave source code and enter the directory. Create a build directory <code>mkdir my_build</code>, set enter that directory and issue <code>../configure</code>. This will start the environment variable GNUTERM configure script. Look at the output at the end of the configure process to x11see what packages are not found by the script. The default shell Many of these will be things you want/need in LoD is bash, and you terms of functionality. You can either issue search for the packages available using the command "export GNUTERM=x11apt search" in , and install the bash terminal or ones you want using <code>sudo apt install <package></code> before compiling. If you want to install Octave in your octave session issuing "setenv GNUTERM x11my_build"be sure to issue <code>. You can also add "setenv GNUTERM x11" to your .octaverc file to do /configure --prefix=`pwd`</code> from this automaticallydirectory.# In the {{Path|my_build}} directory issue <code>make</code> and <code>make install</code>.
2. If Now you want to use Qt graphics it will take some workshould have a working installation in, and may or may not be possiblee. It has not been tested by anyoneg. You will need to download the package libandroid-shmem from https:, {{Path|/home/github.comdextop/termuxpath_to/libandroidoctave-shmem, get it working, and then recompile Octave linking to this library5.1. There are more detailed instructions regarding the compilation on the github website0/my_build/}}.
== Android app == The Android app [httpsGraphics://play.google.com/store/apps/details?id=com.octave Octave] in Google play is built and maintained by Corbin Champion and not part of the GNU Octave project. The source and some build instructions for the installer can be found here* https://github.com/corbinlc/octave4android/ This link might have some other, perhaps now outdated, build instructions:* http://octave.1599824.n4.nabble.com/Octave-on-Android-td4658392.html
You are offered a choice of downloading # If you set the appgraphics toolbox to "gnuplot", for which a donation Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is requestedbash, or and you can download either issue <code>export GNUTERM=x11</code> in the full source 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 build your own version for freemay or may not be possible. It has not been tested by anyone. This You will require need to download the Octave sourcespackage [https://github.com/termux/libandroid-shmem libandroid-shmem], Corbin's GitHub repositoryget it working, and then recompile Octave linking to this library. There are more detailed instructions regarding the compilation on the Android SDKgithub website.
This implementation has been done in close cooperation with the Octave developers and makes use of the current Octave source essentially without any change. Thus, it is fully compatible with the versions of Octave on other platforms.[[Category:Installation]]

Navigation menu