The Jupyter notebook is not yet available in the Debian 8.3 and Ubuntu 16.04 LTS repositories. Instead, the IPython notebook can be installed:
sudo apt-get install nodejs-legacy npm ipython ipython-notebook
Alternatively, the Jupyter notebook can be installed via
pip installs the latest Jupyter release from the Python Package Index:
sudo apt-get install nodejs-legacy npm g++ libzmq3-dev python-dev python-pip sudo pip install --upgrade jupyter
And Anaconda provides a data science platform that distributes both
Jupyter (by default) and
npm prefix to your home folder:
Node.js needs upgrading to a recent version. You can do so by running:
sudo apt-get install curl curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs
The instructions for upgrading
Node.js have been adapted from those found here.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install pkg-config node zeromq sudo easy_install pip sudo pip install --upgrade pyzmq jupyter
Once the dependencies have been installed,
Also note that the build tool
node-gyp (which is part of Node.js and is used to compile native modules) requires Python 2.
Jupyter could be installed following the instructions here. I find more convenient to install a Python distribution such as Anaconda.
Anaconda not only installs
Jupyter and its requirements, but also a selection of frequently-used Python packages.
Node.js provides a Windows installer. However, the build tool
node-gyp will not be functional unless one of the recognised C++ compilers is installed. See here for more details, here for Visual Studio Express 2012 or here for a link to Visual Studio Express 2013.
nvm is a popular Node Version Manager for users to install specific versions of Node in their own home folder. These types of installations do not require the use of
sudo to install global packages, simply run:
Another consideration for