Installation Octave / UserLAnd

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation Octave / UserLAnd

optimist
Hi

I've tried to install GNU Octave on my Galaxy S9 with Android 9, what
requires UserLAnd. I'm new on Debian, Linux, UserLAnd, etc. therefore: Is
there a step by step instruction. Because I didn't find any...

So I tried to install Octave/UserLAnd on my one. I managed for instance to
install and use the statistic software "R", but if I like to install Octave,
I get the error message "Unable to locate package octave-odepkg" during the
Installation. Any idea?

And then: Years ago, I installed Octave on a Android 5 device (with GNURoot
Octave by Corbin Champion instead of UserLAnd). Octave worked locally
WITHOUT any connection to the net. That was a huge advantage to me. But it
seems, that nowadays Octave (or UserLAnd) needs a permanent connection to
the internet. Why this?

Thanks for each hint.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Installation Octave / UserLAnd

John Frain

You will find the instructions at
useful.  Userland allows a variety of Linux versions to be used.  I use the Debian file system.  there may be an error in the installation of octave from the base icon on the Userland screen.  I have not verified this.  I have used 

sudo apt update
sudo apt upgrade
sudo apt install octave

and can run octave from the command line, R installs from the icon on the Userland screen.  You do need to install ssh and vnc apps.

John C Frain, Ph.D.

Economics Department             3 Aranleigh Park
Trinity College Dublin                 Rathfarnham
College Green                           Dublin 14
Dublin 2                                    Ireland
Ireland


On Mon, 22 Jul 2019 at 17:47, optimist <[hidden email]> wrote:
Hi

I've tried to install GNU Octave on my Galaxy S9 with Android 9, what
requires UserLAnd. I'm new on Debian, Linux, UserLAnd, etc. therefore: Is
there a step by step instruction. Because I didn't find any...

So I tried to install Octave/UserLAnd on my one. I managed for instance to
install and use the statistic software "R", but if I like to install Octave,
I get the error message "Unable to locate package octave-odepkg" during the
Installation. Any idea?

And then: Years ago, I installed Octave on a Android 5 device (with GNURoot
Octave by Corbin Champion instead of UserLAnd). Octave worked locally
WITHOUT any connection to the net. That was a huge advantage to me. But it
seems, that nowadays Octave (or UserLAnd) needs a permanent connection to
the internet. Why this?

Thanks for each hint.



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html




Reply | Threaded
Open this post in threaded view
|

Re: Installation Octave / UserLAnd

optimist
This post was updated on .
@John Frain Thank you very much for your answer. I did know this "Getting
startet" on github, but

1.Click an app.
2.Fill out the required information. That's it.

isn't a step by step instruction for me and many other beginners. I don't
know the tricky differences between the distributions, between SSH and VNC,
but I have to choose...
I followed your three sudo orders, and - bingo! - I'm able to use Octave.
But a start from the icon leads always to the error mentioned above, so
there must be a bug (see screenshot). I'm forced to start Octave from the
command line and can launch R from the UserlAnd screen, exactly as you desribed. Not
comfortable, but at least it works...
So thank you again.

PS: I'm still wondering why Octave needs a connection to the internet...

<http://octave.1599824.n4.nabble.com/file/t373422/Screenshot_UserLAnd.png



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: Installation Octave / UserLAnd

John Frain
Perhaps I should say that my knowledge of GNUroot and UserLand is derived from using it and I do not have any in-depth knowledge of the inner working of either.  Thus if anyone knows better please correct me.  I have installed userland on two tablets, one running Android 6.0 and the other Amazon Fire OS 5.6.4.0 (Userland obtained from F-Droid). On both of these systems, UserLand appears to be stable.  I have also installed it on an Honor Play phone running EMUI 9.0.0.190 (equivalent to Android 9). 

When I start the Userland app I am presented with a choice of 5 versions of Linux and a series of apps including gnuplot, octave, and R.  First I started the Debian app.  This downloads a base Debian Linux system and creates a file system.  I then clicked on the R and R and its dependencies are downloaded from the depository and loaded into the file system.  I cant then run R.  On the tablets I also installed R in this way.  R works as expected on both tablets and phone.

I installed octave in this way on the tablets.  Access to the internet is required only to install the octave package. Once the octave package is downloaded and installed there is no need to access the internet.  I note that the version of octave installed on the tablets is 4.0.3.  The octave version installed on the phone using the method described in my earlier email is 4.4.1.  I suspect that the quick install system for octave may be looking for a 4.0.3 dependency that is no longer required or has been replaced by an alternative dependency.  This may cause the install to fail.  If this is octave will not run from the icon and must be run from the command line. If I get the time I will report the bug.

ssh is used to provides a terminal (command line)  VNC provides a windows system.  Thus if you run octave on a phone I would recommend that you use the terminal.  I would not even try to use the octave GUI on a phone.  It is just about usable on one of the 10-inch tablets.

On the phone UserLand, occasionally, becomes unresponsive.  You may have to force stop it in system - apps or equivalent on your system.

If you long-press on an app in the basic menu and select app info you can switch between ssh and vnc for the app.  This is not working, at the moment, with octave.  



John C Frain, Ph.D.

Economics Department             3 Aranleigh Park
Trinity College Dublin                 Rathfarnham
College Green                           Dublin 14
Dublin 2                                    Ireland
Ireland


On Tue, 23 Jul 2019 at 09:13, optimist <[hidden email]> wrote:
@John Frain Thank you very much for your answer. I did know this "Getting
startet" on github, but

1.Click an app.
2.Fill out the required information. That's it.

isn't a step by step instruction for me and many other beginners. I don't
know the tricky differences between the distributions, between SSH and VCS,
but I have to choose...
I followed your three sudo orders, and - bingo! - I'm able to use Octave.
But a start from the icon leads always to the error mentioned above, so
there must be a bug (see screenshot). I'm forced to start Octave from the
command line and can launch R from the UserlAnd screen, as you desribed. Not
comfortable, but at least it works...
So thank you again.

PS: I'm still wondering why Octave needs a connection to the internet...

<http://octave.1599824.n4.nabble.com/file/t373422/Screenshot_UserLAnd.png>



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html




Reply | Threaded
Open this post in threaded view
|

Re: Installation Octave / UserLAnd

optimist
*@ John Frain* Thank you again very much for your detailed answer. Maybe
there was a misunderstanding: I didn't meen that your first answer wasn't
detailed enough, I meant that the instruction on
https://github.com/CypherpunkArmory/UserLAnd/wiki/Getting-Started-in-UserLAnd 
(the link you gave to me) should be more precise. I found the way to install
R only hard by trial & error. Concerning Octave, I wanted to know, if I did
something wrong. Apparently not, and you gave me the solution in your first
answer. But I learned also something from your second answer: Indeed, Octave
runs without connection to the internet [so I'm able to use Octave during
the 2 hours per day sitting in the train :-)]. I don't know, why I thought
that there must be a connection - maybe Userland tried 'till now to download
the missing package and therefore needed the server...
Anyway, all my problems are now solved, and for me, this thread can be
closed.

Thanks again



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html