install Rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
install evcxr jupyter kernel
rustup component add rust-src
sudo apt install jupyter-notebook cmake build-essential
cargo install evcxr_jupyter
evcxr_jupyter --install
launch jupyter
jupyter-notebook
generate config
jupyter notebook --generate-config
set password
jupyter notebook password --generate-config
edit config
sudo apt install jq
sh >> ${HOME}/.jupyter/jupyter_notebook_config.py <<EOF
echo 'c.NotebookApp.ip = "*"'
echo 'c.NotebookApp.password = "'$(jq '.NotebookApp.password' ${HOME}/.jupyter/jupyter_notebook_config.json)'"'
EOF
install cfitsio
wget http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz
tar -zxvf cfitsio-3.49.tar.gz
cd cfitsio-3.49/
CFLAGS="-O3" ./configure --prefix=/usr/local --enable-reentrant --enable-ssse3 --enable-sse2
make -j
sudo make install
references:
https://igiagkiozis.github.io/plotly/content/fundamentals/jupyter_support.html