Revision c4d4fc29748e60fe5762194b15fdde67e2bcecb6 (click the page title to view the current version)
How to install the PARI Jupyter kernel on your laptop
Using SageMath
If you have SageMath version 6.10, you just need to run
sage -i pari_jupyter
Manual installation
We assume that you have Python 2.7, other versions may or may not work.
- Install Jupyter (this is really a
meta-package, containing many individual packages).
- Either install it using your distribution,
- or install it using
pip install --user jupyter
.
- Install Cython from git master:
git clone https://github.com/cython/cython.git
cd cython
./setup.py install --user
- Install PARI/GP from
git master:
git clone http://pari.math.u-bordeaux.fr/git/pari.git
cd pari
./Configure --prefix=$HOME/.local
make install
- Install pari_jupyter from
git master:
git clone https://github.com/jdemeyer/pari_jupyter.git
cd pari_jupyter
CFLAGS="-I$HOME/.local/include -L$HOME/.local/lib" ./setup.py install --user
- Set
PATH=$HOME/.local:$PATH
LD_LIBRARY_PATH=$HOME/.local/lib:
- Launch jupyter-notebook