How to Install: JupyterLab 0.33.8 on Ubuntu 18.04 LTS

Jesus Arrioja
Optimus
Published in
2 min readAug 22, 2018

JupyterLab is the next-generation user interface for the classic Jupyter Notebook. It offers all the familiar building blocks (notebook, terminal, text editor, file browser, rich outputs, etc.).

JupyterLab understands many file formats (images, CSV, JSON, Markdown, PDF, Vega, Vega-Lite, etc.) and can also display rich kernel output in these formats.

To navigate the user interface, JupyterLab offers customizable keyboard shortcuts and the ability to use keymaps from vim, emacs, and Sublime Text in the text editor.

Eventually, JupyterLab will replace the classic Jupyter Notebook.

Prerequisites

JupyterLab requires the Jupyter Notebook version 4.3 or later. For the installation, you can go to my previous article and check how to install Jupyter Notebook.

After you have the Jupyter Network installed you only need to run this lines to install and run JupyterLab

pip3 install jupyterlabjupyter lab --allow-root --ip=0.0.0.0 --no-browser

Activate JupyterLab on JupyterHub multi-user server

Prerequisites

You will need to install JupyterHub first, follow my lead in the article below for that.

After you complete the tutorial you will need to uncomment a line on the /etc/jupyterhub/jupyterhub_config.py configuration file.

c.Spawner.default_url = '/lab'

And run this commands

pip3 install jupyterlabjupyter serverextension enable --py jupyterlab --sys-prefixjupyter labextension install @jupyterlab/hub-extensionjupyter lab build

You can get the documentation and more info about JupyterLab here https://jupyterlab.readthedocs.io/en/stable/

--

--