Installation of the Sage notebook from github
The current development version of the Sage notebook is present in github. Since this development version is not yet merged into the Sage distribution, one needs to follow a couple of additional steps to have a working development version of the Sage notebook.
The steps one needs to follow are outlined below.
First install the latest development version of Sage from the sagemath website.
Next, follow the directions in ticket 13121 to upgrade your notebook to version 0.10.1 (or the latest version).
Clone your fork on to your local machine as follows. Note that the
SAGE_ROOTvariable below corresponds to the directory in which the Sage distribution is present, and
usernameis your login name in github:
$ cd SAGE_ROOT/devel $ git clone email@example.com:username/sagenb.git sagenb-github $ rm sagenb $ ln -s sagenb-github sagenb $ cd sagenb $ ../../sage --python setup.py develop
You can also add the sagenb git repository as a remote branch called
$ git remote add upstream firstname.lastname@example.org:sagemath/sagenb $ git fetch upstream
You are now all set to work with the development version of the Sage notebook!