Skip to content

fricas_jupyter_smc V 0.9.6

Pre-release
Pre-release

Choose a tag to compare

@nilqed nilqed released this 12 Nov 02:19

fricas_smc (v0.9.6)

FriCAS+Jupyter+GnuPlot Installation on SCM (binary distribution)

Versions
FriCAS .... 1.2.7
SBCL ...... 1.2.6
iSPAD ..... 0.9.6
Gnuplot ... 5.0.1

This repository only contains the tools in order to install the iSPAD Jupyter kernel and FriCAS on SageMathCloud.

Quick Install

  • Login to SCM
  • Create a fresh project and do open a terminal 1
  • git clone https://github.com/nilqed/fricas_smc.git
  • cd fricas_smc and run ./setup.sh.

Tests

Terminal
$ fricas -h .......... Fricas help
$ sbcl --version ..... SBCL 1.2.vv
Notebook
Menu: Files -> lib -> fricas_jupyter -> static -> ipynb
... click on test.ipynb 
... wait for kernel ready then: Cell -> Run all
..
New notebook -> change kernel "FriCAS"

The notebook output should look like:
test.html

Manual Installation

If you want to see what is going on then you can perform the instructions in the
setup.sh script step by step:

  • pip install jupyter
  • cd $HOME
  • wget fricas-sbcl-local
  • tar xzvf fricas-sbcl-local.tar.gz
  • cd lib
  • git clone https://github.com/nilqed/fricas_jupyter
  • cd fricas_jupyter
  • export SBCL_HOME=$HOME/lib/sbcl
  • export AXIOM=$HOME
  • ./install.sh --prefix $HOME # creates iSPAD core -> $HOME/bin
Optional

The script will tidy up (removing unused components):

Cleaning:

  • cd lib/fricas_jupyter
  • rm -r ./ifricas
  • rm iSPAD
  • cd $HOME
  • rm fricas-sbcl-local.tar.gz

The folder fricas_smc can also be deleted.

CodeMirror mode/lexer:

  • to be done

__

1: Assure you are in $HOME and that it is empty
(except the terminal file).