LibreTexts / metalc

LibreTexts/UCDavis bare-metal Kubernetes cluster running JupyterHub and Binder
http://jupyter.libretexts.org
MIT License
14 stars 2 forks source link

Octave forge packages are not available in the Octave kernel on LibreTexts #175

Closed moorepants closed 4 years ago

moorepants commented 4 years ago

The solution I'd like is to switch to default-env for LibreTexts, but if there is a quick work around we could have these installed. I suppose you could make a new docker file that builds on the octave dockerfile we are using that installs all the octave packages available with apt, i.e. apt install octave-*. But I'd really like default-env to be used on LibreTexts for all kernels so we have one place to control the installed software.

moorepants commented 4 years ago

There is more to this issue. I tried this: image

As you can see, it failed to load the package because it can't compile it, since there are no C/C++ tools installed. This is another reason we need to use default-env.

moorepants commented 4 years ago

Note that this is marked as high priority, as there is a new textbook author that needs this package. I'd like someone to work on this.

@tannavee Can you remind me what the status is on using default-env for the LibreTexts page integration?

moorepants commented 4 years ago

Here is the relevant forum post: https://libretexts-constructionforum.groups.io/g/jupyter/topic/using_octave_cacsd_toolbox_in/75068383

It seems Octave is an older version on the docker image we are using also.

moorepants commented 4 years ago

The octave packages are now available on LibreTexts: Selection_722

Package Name       | Version | Installation directory
-------------------+---------+-----------------------
              bim  |   1.1.5 | /usr/share/octave/packages/bim-1.1.5
   communications  |   1.2.1 | /usr/share/octave/packages/communications-1.2.1
          control *|   3.0.0 | /usr/share/octave/packages/control-3.0.0
   data-smoothing  |   1.3.0 | /usr/share/octave/packages/data-smoothing-1.3.0
        dataframe  |   1.2.0 | /usr/share/octave/packages/dataframe-1.2.0
           divand  |   1.1.2 | /usr/share/octave/packages/divand-1.1.2
     econometrics  |   1.1.1 | /usr/share/octave/packages/econometrics-1.1.1
        financial  |   0.5.1 | /usr/share/octave/packages/financial-0.5.1
              fpl  |   1.3.5 | /usr/share/octave/packages/fpl-1.3.5
               ga  |  0.10.0 | /usr/share/octave/packages/ga-0.10.0
          general  |   2.0.0 | /usr/share/octave/packages/general-2.0.0
         geometry  |   3.0.0 | /usr/share/octave/packages/geometry-3.0.0
              gsl  |   2.1.0 | /usr/share/octave/packages/gsl-2.1.0
            image  |   2.6.2 | /usr/share/octave/packages/image-2.6.2
         interval  |   3.1.0 | /usr/share/octave/packages/interval-3.1.0
               io  |  2.4.10 | /usr/share/octave/packages/io-2.4.10
   linear-algebra  |   2.2.2 | /usr/share/octave/packages/linear-algebra-2.2.2
            ltfat  |   2.2.0 | /usr/share/octave/packages/ltfat-2.2.0
          mapping  |   1.2.1 | /usr/share/octave/packages/mapping-1.2.1
    miscellaneous  |   1.2.1 | /usr/share/octave/packages/miscellaneous-1.2.1
missing-functions  |   1.0.2 | .../share/octave/packages/missing-functions-1.0.2
              mpi  |   1.2.0 | /usr/share/octave/packages/mpi-1.2.0
              msh  |  1.0.10 | /usr/share/octave/packages/msh-1.0.10
              nan  |   3.1.4 | /usr/share/octave/packages/nan-3.1.4
           netcdf  |  1.0.11 | /usr/share/octave/packages/netcdf-1.0.11
            nurbs  |  1.3.13 | /usr/share/octave/packages/nurbs-1.3.13
              ocs  |   0.1.5 | /usr/share/octave/packages/ocs-0.1.5
          octclip  |   1.0.8 | /usr/share/octave/packages/octclip-1.0.8
          octproj  |   1.1.5 | /usr/share/octave/packages/octproj-1.1.5
           odepkg  |   0.8.5 | /usr/share/octave/packages/odepkg-0.8.5
            optim  |   1.5.2 | /usr/share/octave/packages/optim-1.5.2
      optiminterp  |   0.3.4 | /usr/share/octave/packages/optiminterp-0.3.4
         parallel  |   3.1.1 | /usr/share/octave/packages/parallel-3.1.1
       quaternion  |   2.4.0 | /usr/share/octave/packages/quaternion-2.4.0
           secs1d  |   0.0.9 | /usr/share/octave/packages/secs1d-0.0.9
           secs2d  |   0.0.8 | /usr/share/octave/packages/secs2d-0.0.8
           signal  |   1.3.2 | /usr/share/octave/packages/signal-1.3.2
          sockets  |   1.2.0 | /usr/share/octave/packages/sockets-1.2.0
        sparsersb  |   1.0.5 | /usr/share/octave/packages/sparsersb-1.0.5
          specfun  |   1.1.0 | /usr/share/octave/packages/specfun-1.1.0
          splines  |   1.3.2 | /usr/share/octave/packages/splines-1.3.2
       statistics  |   1.3.0 | /usr/share/octave/packages/statistics-1.3.0
              stk  |   2.5.0 | /usr/share/octave/packages/stk-2.5.0
          strings  |   1.2.0 | /usr/share/octave/packages/strings-1.2.0
           struct  |  1.0.14 | /usr/share/octave/packages/struct-1.0.14
         symbolic  |   2.6.0 | /usr/share/octave/packages/symbolic-2.6.0
           tisean  |   0.2.3 | /usr/share/octave/packages/tisean-0.2.3
              tsa  |   4.4.5 | /usr/share/octave/packages/tsa-4.4.5
             vrml  |  1.0.13 | /usr/share/octave/packages/vrml-1.0.13
           zenity  |   0.5.7 | /usr/share/octave/packages/zenity-0.5.7
           zeromq  |   1.2.1 | /usr/share/octave/packages/zeromq-1.2.1