help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to install octave-Forge on linux mint?


From: Robert H
Subject: Re: how to install octave-Forge on linux mint?
Date: Sat, 7 Apr 2012 05:07:27 -0700 (PDT)




From: c. <address@hidden>

I installed octave using the command

sudo apt install octave


>sudo apt-get install octave-control

But how does not one obtain a list of all packages? Like with R for example?


>> it says to use command 
> >
> >pkg install  file.tar.gz
> >
> >but on linux mint, I see no command called pkg.

>that command must be issued inside Octave.

I just tried it from inside octave, and it does not work:

octave:1> pkg install -forge
warning: file -forge does not exist


> Is there a way to install all of octave packages?

But How?

I did sudo apt install octave

Then using synaptic, I installed few more, one by one.

octave:3> pkg list
Package Name    | Version | Installation directory
----------------+---------+-----------------------
       control *|  1.0.11 | /usr/share/octave/packages/3.2/control-1.0.11
       general *|   1.2.2 | /usr/share/octave/packages/3.2/general-1.2.2
           gsl *|   1.0.8 | /usr/share/octave/packages/3.2/gsl-1.0.8
linear-algebra *|   2.0.0 | /usr/share/octave/packages/3.2/linear-algebra-2.0.0
 miscellaneous *|  1.0.11 | /usr/share/octave/packages/3.2/miscellaneous-1.0.11
        odepkg *|  0.6.12 | /usr/share/octave/packages/3.2/odepkg-0.6.12
         optim *|  1.0.16 | /usr/share/octave/packages/3.2/optim-1.0.16
          plot *|   1.0.8 | /usr/share/octave/packages/3.2/plot-1.0.8
        signal *|  1.0.11 | /usr/share/octave/packages/3.2/signal-1.0.11
       specfun *|   1.0.9 | /usr/share/octave/packages/3.2/specfun-1.0.9
    statistics *|  1.0.10 | /usr/share/octave/packages/3.2/statistics-1.0.10
       strings *|   1.0.7 | /usr/share/octave/packages/3.2/strings-1.0.7
        struct *|   1.0.9 | /usr/share/octave/packages/3.2/struct-1.0.9



> Did you install ALL packages in the Debian distribution on your system?

I do not know how to install everything, since I do not know what is there.

>You defenitely do not need to install all packages,
>and actually you should avoid this as some of them
>are actually mutually exclusive.

But the package manager should take care of this?


>If your version of Octave is new enogh (>= 3.4) you can use the command
>pkg install -forge

my version is

octave:4> version
ans = 3.2.4

I am running latest linux mint, new just downloaded it, latest version of linux mint. And when I did apt install octave, that is what I get.

>to install forge packages without downloading them or, equivalently, you can select all the packages you >need from inside synaptic.

I do not see octave-forge inside synaptic. May be linux mint does not have the latest octave?

thanks,
Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]