https://wiki.octave.org/wiki/api.php?action=feedcontributions&user=Ezb&feedformat=atomOctave - User contributions [en]2024-03-28T08:57:01ZUser contributionsMediaWiki 1.39.2https://wiki.octave.org/wiki/index.php?title=Octave_for_Linux_on_Dex_(Samsung_Android_devices)&diff=12262Octave for Linux on Dex (Samsung Android devices)2019-09-18T21:26:51Z<p>Ezb: </p>
<hr />
<div>Linux on Dex (LoD) is an application that runs on some Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website https://www.linuxondex.com to see if your device is supported. Linux on Dex is still in beta testing, so the information below may change. <br />
<br />
To build Octave on LoD, do the following. This assumes you have LoD working. If not, follow the instructions on the LoD website.<br />
<br />
1. Many of the packages that Octave needs are not in the default Ubuntu installation. You will need to install them using "sudo apt install <package>". First, you need the compilers gcc, and gfortran. There are other packages that are essential to download: "libblas", "liblapack", "libatlas" and their development counterparts with the "-dev" extension.<br />
<br />
2. Remove all "libopenblas" 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: https://savannah.gnu.org/bugs/?56900<br />
<br />
3. Unpack the Octave source code and enter the directory. Make a directory "mkdir my_build", enter that directory and issue "../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 want/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 "../configure --prefix=`pwd`" from this directory.<br />
<br />
4. In the "my_build" directory issue "make" and "make install".<br />
<br />
You should now have a working installation in, e.g., /home/dextop/path_to/octave-5.1.0/my_build/<br />
<br />
Graphics:<br />
<br />
1. If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue "export GNUTERM=x11" in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add "setenv GNUTERM x11" to your .octaverc file to do this automatically.<br />
<br />
2. 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 libandroid-shmem from https://github.com/termux/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.</div>Ezbhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Linux_on_Dex_(Samsung_Android_devices)&diff=12258Octave for Linux on Dex (Samsung Android devices)2019-09-17T21:10:26Z<p>Ezb: </p>
<hr />
<div>Linux on Dex (LoD) is application that runs on some Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website https://www.linuxondex.com to see if your device is supported. Linux on Dex is still in beta testing, so the information below may change. <br />
<br />
To build Octave on LoD, do the following. This assumes you have LoD working. If not, follow the instructions on the LoD website.<br />
<br />
1. Many of the packages that Octave needs are not in the default Ubuntu installation. You will need to install them using "sudo apt install <package>". First, you need the compilers gcc, and gfortran. There are other packages that are essential to download: "libblas", "liblapack", "libatlas" and their development counterparts with the "-dev" extension.<br />
<br />
2. Remove all "libopenblas" 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: https://savannah.gnu.org/bugs/?56900<br />
<br />
3. Unpack the Octave source code and enter the directory. Make a directory "mkdir my_build", enter that directory and issue "../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 want/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 "../configure --prefix=`pwd`" from this directory.<br />
<br />
4. In the "my_build" directory issue "make" and "make install".<br />
<br />
You should now have a working installation in, e.g., /home/dextop/path_to/octave-5.1.0/my_build/<br />
<br />
Graphics:<br />
<br />
1. If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue "export GNUTERM=x11" in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add "setenv GNUTERM x11" to your .octaverc file to do this automatically.<br />
<br />
2. 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 libandroid-shmem from https://github.com/termux/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.</div>Ezbhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Linux_on_Dex_(Samsung_Android_devices)&diff=12257Octave for Linux on Dex (Samsung Android devices)2019-09-17T21:09:36Z<p>Ezb: </p>
<hr />
<div>Linux on Dex (LoD) is application that runs on some Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website page to see if your device is supported. Linux on Dex is still in beta testing, so the information below may change. https://www.linuxondex.com/<br />
<br />
To build Octave on LoD, do the following. This assumes you have LoD working. If not, follow the instructions on the LoD website.<br />
<br />
1. Many of the packages that Octave needs are not in the default Ubuntu installation. You will need to install them using "sudo apt install <package>". First, you need the compilers gcc, and gfortran. There are other packages that are essential to download: "libblas", "liblapack", "libatlas" and their development counterparts with the "-dev" extension.<br />
<br />
2. Remove all "libopenblas" 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: https://savannah.gnu.org/bugs/?56900<br />
<br />
3. Unpack the Octave source code and enter the directory. Make a directory "mkdir my_build", enter that directory and issue "../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 want/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 "../configure --prefix=`pwd`" from this directory.<br />
<br />
4. In the "my_build" directory issue "make" and "make install".<br />
<br />
You should now have a working installation in, e.g., /home/dextop/path_to/octave-5.1.0/my_build/<br />
<br />
Graphics:<br />
<br />
1. If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue "export GNUTERM=x11" in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add "setenv GNUTERM x11" to your .octaverc file to do this automatically.<br />
<br />
2. 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 libandroid-shmem from https://github.com/termux/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.</div>Ezbhttps://wiki.octave.org/wiki/index.php?title=Octave_for_Linux_on_Dex_(Samsung_Android_devices)&diff=12256Octave for Linux on Dex (Samsung Android devices)2019-09-17T21:07:57Z<p>Ezb: Created page with "Linux on Dex (LoD) is application that runs on some Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website page to see if yo..."</p>
<hr />
<div>Linux on Dex (LoD) is application that runs on some Android devices made by Samsung, including their smart phones and tablets. Check the Linux on Dex website page to see if your device is supported. Linux on Dex is still in beta testing, so the information below may change.<br />
<br />
To build Octave on LoD, do the following. This assumes you have LoD working. If not, follow the instructions on the LoD website.<br />
<br />
1. Many of the packages that Octave needs are not in the default Ubuntu installation. You will need to install them using "sudo apt install <package>". First, you need the compilers gcc, and gfortran. There are other packages that are essential to download: "libblas", "liblapack", "libatlas" and their development counterparts with the "-dev" extension.<br />
<br />
2. Remove all "libopenblas" 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: https://savannah.gnu.org/bugs/?56900<br />
<br />
3. Unpack the Octave source code and enter the directory. Make a directory "mkdir my_build", enter that directory and issue "../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 want/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 "../configure --prefix=`pwd`" from this directory.<br />
<br />
4. In the "my_build" directory issue "make" and "make install".<br />
<br />
You should now have a working installation in, e.g., /home/dextop/path_to/octave-5.1.0/my_build/<br />
<br />
Graphics:<br />
<br />
1. If you set the graphics toolbox to "gnuplot", Octave should generate plots correctly. If it does not, set the environment variable GNUTERM to x11. The default shell in LoD is bash, and you can either issue "export GNUTERM=x11" in the bash terminal or in your octave session issuing "setenv GNUTERM x11". You can also add "setenv GNUTERM x11" to your .octaverc file to do this automatically.<br />
<br />
2. 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 libandroid-shmem from https://github.com/termux/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.</div>Ezbhttps://wiki.octave.org/wiki/index.php?title=GNU_Octave_Wiki&diff=12255GNU Octave Wiki2019-09-17T20:30:11Z<p>Ezb: /* Installing */</p>
<hr />
<div>[https://www.gnu.org/software/octave/ GNU Octave] is a high-level interpreted language, primarily intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. It also provides extensive graphics capabilities for data visualization and manipulation. GNU Octave is normally used through its interactive interface ([https://en.wikipedia.org/wiki/Command-line_interface CLI] and [https://en.wikipedia.org/wiki/Graphical_user_interface GUI]), but it can also be used to write non-interactive programs. The GNU Octave language is quite similar to Matlab so that most programs are easily portable.<br />
<br />
== [[:Category:Installation|Installing]] ==<br />
<br />
Installation instructions for:<br />
* [[Octave for macOS|macOS]]<br />
* [[Octave for GNU/Linux|GNU/Linux]] and [[Octave for other Unix systems|other Unix systems]]<br />
* [[Octave_for_Microsoft_Windows|Microsoft Windows]]<br />
* [[Octave for Linux on Dex (Samsung Android devices)]]<br />
<br />
Get installers and sources from https://www.octave.org/download and information how to [[Octave_and_separate_toolchain|build Octave using a separate toolchain]] (custom built gcc version).<br />
<br />
{{Note|'''GNU Octave {{Release}}''' is the current stable release.}}<br />
<br />
Are you using an old version of Octave? Check the [[Release History]] page to see how old it is.<br />
<br />
== [https://www.gnu.org/software/octave/news.html News] ==<br />
<br />
* {{Release Date}} '''GNU Octave {{Release}}''' has been released (see above)!<br />
<br />
== Getting help ==<br />
<br />
* [[FAQ|Frequently asked questions (FAQ)]]<br />
* [https://www.gnu.org/software/octave/doc/interpreter GNU Octave documentation]<br />
* [https://www.gnu.org/software/octave/support.html Other support options]<br />
<br />
== [[:Category:Resources|Getting started]] ==<br />
<br />
* [[Publications using Octave#Books|Books]]<br />
* [[Video tutorials|Videos]]<br />
* [https://bagustris.github.io/octave-tutorial Short course]<br />
<br />
[[File:Octave-flower.svg|right|frame|[[:Category:Octave Forge|Octave Forge]] is a collection of high quality packages for GNU Octave.]]<br />
<br />
== [[Packages]] / [[:Category:Octave Forge|Octave Forge]] ==<br />
<br />
* [https://octave.org/doc/interpreter/Installing-and-Removing-Packages.html Installing packages]<br />
* [[Creating packages]]<br />
* '''[[:Category:Octave Forge|Octave Forge]]''' &mdash; A collection of high quality packages for GNU Octave.<br />
<br />
== [[:Category:Development|Development]] ==<br />
<br />
We always need more help improving Octave and there are many ways [https://www.gnu.org/software/octave/get-involved.html you can contribute]. You can help by fixing bugs, developing new features, answering questions on the mailing list or IRC channel, helping to improve this wiki or other web pages.<br />
<br />
* Get an overview about the [[:Category:Development|GNU Octave development]].<br />
* Take a look at our [[Summer of Code Project Ideas]].<br />
<br />
== [[:Category:Academia|Academia]] ==<br />
<br />
* [[Publications using Octave]] &mdash; A compilation of scientific publications making reference to GNU Octave (add yours!).<br />
<br />
== External Links ==<br />
<br />
* [https://www.gnu.org/software/octave/ Octave Homepage]<br />
* [https://octave.sourceforge.io/ Octave Forge]<br />
* [https://savannah.gnu.org/bugs/?group=octave Bug Tracker]<br />
* [https://savannah.gnu.org/task/?group=octave Task Tracker]<br />
* [https://savannah.gnu.org/patch/?group=octave Patch Tracker]<br />
* [https://savannah.gnu.org/hg/?group=octave Development Repositories]<br />
* [https://planet.octave.org/ Planet Octave] - A collection of blog feeds featuring Octave developers and [[Summer of Code]] students.</div>Ezb