Jupyter Notebook with Lisp kernel
Installing Jupyter Notebook with Lisp kernel on Ubuntu on VirtualBox.
Ubuntu in Virtual BoxPermalink
NAT port forwarding.Permalink
Set 2222 to 22 for normal remote connection.
Set 888 to 8888 for jupyter notebook.
You can log the tcp transfers in port 22 using the command below.
sudo tcpdump port 22
Lisp Jupyter InstallationPermalink
Get some useful utilitiesPermalink
sudo apt-get install openssh-server
sudo apt install curl git
Install AnacondaPermalink
Follow the steps here.
Create a new environmentPermalink
conda create -n lisp python=3
conda list
conda env list
source activate lisp
Install CL-JupyterPermalink
Install the lisp kernel by following the steps here.
Install SBCLPermalink
sudo apt-get install sbcl
Install QuickLispPermalink
Follow the steps here.
Some additional stepsPermalink
sudo apt-get install libzmq3-dev
and the below is unsure (in SBCL)
(ql:quickload "alexandria")
(ql:quickload "trivial-features")
(ql:quickload "bable")
FinallyPermalink
python ./install-cl-jupyter.py
:: or python3 ./install-cl-jupyter.py
Test using console mode (Ctrl-D to exit).
jupyter console --kernel=lisp
Some settings for external OS. Follow this.
Start notebook.
jupyter notebook
:: or jupyter notebook --ip='*'
Copy the url with token.
Create a notebook with lisp kernel.
Done.
Further ReadingPermalink
Comments are configured with provider: disqus, but are disabled in non-production environments.