termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

Package request: GNU Octave

Open franciscod opened this issue 8 years ago • 16 comments

There are a few Octave "distros" for Android so maybe it's simple to bring Octave into Termux too. I might give it a shot in a few weeks (but don't let that stop you, feel free to try anyway :))

franciscod avatar Aug 12 '16 03:08 franciscod

I like using android to plot graph on the fly, the GNUroot debian Octave eats like 650MB of diskspace, I like Termux better.

Goodgithuber avatar Nov 07 '16 05:11 Goodgithuber

done it myself..

its-pointless avatar Mar 17 '17 08:03 its-pointless

so it is possible to have octave on termux?

kurokirasama avatar Oct 19 '17 14:10 kurokirasama

Can be closed as solved here.

Atavic avatar Jan 14 '18 19:01 Atavic

@franciscod octave is currently available via https://sdrausty.github.io/TermuxArch/ Arch Linux in Termux PRoot. Use pacman -S octave to install octave on device once Arch Linux is installed in Termux.

Screenshot of Arch On Termux

@Atavic https://en.wikipedia.org/wiki/GNU_Octave is on Wikipedia. Termux is not https://github.com/termux/termux-packages/issues/1930 "Please share your thoughts on the matter ..." as the notice requests.

SDRausty avatar Jan 14 '18 19:01 SDRausty

@Atavic Thanks!

Grimler91 avatar Jan 14 '18 19:01 Grimler91

Reopening this, goal is to have octave available in the main repo. Low priority I suppose though since it is available from ita-pointless repo.

Grimler91 avatar Jan 26 '18 07:01 Grimler91

GNU rocks! @Grimler91 Thank you for reopening this issue.

The following is spunoff from working on https://github.com/termux/termux-packages/issues/1930 Termux Wikipedia Article

Are you familiar with https://www.gnu.org/distros/free-distros.en.html Especially:

If you maintain a distribution that follows the Free System Distribution and would like to be listed here, please write to [email protected] with an introduction and a link to the project Web site.

Has anyone approached https://www.gnu.org/distros/free-system-distribution-guidelines.html for inclusion?

SDRausty avatar Jan 26 '18 20:01 SDRausty

The octave in its-pointless repo has gui disabled (tried with fluxbox and xfce). So it might be a good idea to keep this feature enabled in the official repository.

archisman-panigrahi avatar Oct 18 '19 08:10 archisman-panigrahi

in the official repository.

There is a reason why octave is available only in its-pointless repository.

ghost avatar Oct 18 '19 10:10 ghost

https://play.google.com/store/apps/details?id=tech.ula.octave

tathastu871 avatar May 04 '22 02:05 tathastu871

Tried installing from itspointless repo throws below error CANNOT LINK EXECUTABLE "octave": library "libandroid-support.so" not found

tathastu871 avatar May 04 '22 02:05 tathastu871

Tried installing from itspointless repo throws below error CANNOT LINK EXECUTABLE "octave": library "libandroid-support.so" not found

Works fine here. Most likely you have installed octave from the android-5/6 repository on an android >= 7 device. Use the android >= 7 repo: deb https://its-pointless.github.io/files/24 termux extras

Grimler91 avatar May 04 '22 05:05 Grimler91

Tried installing from itspointless repo throws below error CANNOT LINK EXECUTABLE "octave": library "libandroid-support.so" not found

Works fine here. Most likely you have installed octave from the android-5/6 repository on an android >= 7 device. Use the android >= 7 repo: deb https://its-pointless.github.io/files/24 termux extras

Tried that CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libmetis.so" not found

To solve above error installed openfoam as it provides libmetis.

Then same libandroid again

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libandroid-support.so" not found

tathastu871 avatar May 05 '22 10:05 tathastu871

Tried that CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libmetis.so" not found

To solve above error installed openfoam as it provides libmetis.

libmetis.so is provided by suitesparse, and octave already depends on it so the library should already be installed.

Then same libandroid again

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libandroid-support.so" not found

I still can't produce any issue, so best guess is that your environment is broken for some reason.

Grimler91 avatar May 05 '22 11:05 Grimler91

/sdcard $ octave octave: no graphical display found octave: disabling GUI features CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-7.3.0": library "libGLU.so" not found

wentywenty avatar May 26 '23 04:05 wentywenty

Tried installing from itspointless repo throws below error CANNOT LINK EXECUTABLE "octave": library "libandroid-support.so" not found

Works fine here. Most likely you have installed octave from the android-5/6 repository on an android >= 7 device. Use the android >= 7 repo: deb https://its-pointless.github.io/files/24 termux extras

Tried that CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libmetis.so" not found

To solve above error installed openfoam as it provides libmetis.

Then same libandroid again

CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/octave-cli-6.1.0": library "libandroid-support.so" not found

Adding this to my .zshrc seemed to solve the issue for me.

export PREFIX=/data/data/com.termux/files/usr
export LD_LIBRARY_PATH=$PREFIX/lib
export PATH=$PREFIX/bin

zoomlogo avatar Jul 23 '23 15:07 zoomlogo

I have installed the octave on termux how to run it please tell

raviraj-47 avatar Oct 01 '23 14:10 raviraj-47

Run the command octave

archisman-panigrahi avatar Oct 01 '23 14:10 archisman-panigrahi

It wasn't not working earlier with the same octave command but it worked now Thanks bro

raviraj-47 avatar Oct 01 '23 14:10 raviraj-47