termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.06k stars 3k forks source link

Package request: GNU Octave #387

Closed franciscod closed 9 months ago

franciscod commented 8 years ago

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 :))

Goodgithuber commented 7 years ago

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

its-pointless commented 7 years ago

done it myself..

kurokirasama commented 6 years ago

so it is possible to have octave on termux?

Atavic commented 6 years ago

Can be closed as solved here.

SDRausty commented 6 years ago

@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.

Grimler91 commented 6 years ago

@Atavic Thanks!

Grimler91 commented 6 years ago

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.

SDRausty commented 6 years ago

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 webmasters@gnu.org 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?

archisman-panigrahi commented 4 years ago

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.

ghost commented 4 years ago

in the official repository.

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

tathastu871 commented 2 years ago

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

tathastu871 commented 2 years ago

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

Grimler91 commented 2 years ago

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

tathastu871 commented 2 years ago

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

Grimler91 commented 2 years ago

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.

wentywenty commented 1 year ago

/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

zoomlogo commented 1 year ago

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
raviraj-47 commented 12 months ago

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

archisman-panigrahi commented 12 months ago

Run the command octave

raviraj-47 commented 12 months ago

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