Jupyter Prerequisites

Install the Required Packages on the JupyterHub Server

Before proceeding with the JupyterHub installation, ensure that the necessary dependencies are installed on the node designated for the JupyterHub server.

Run the following commands to install the dependencies:

On RHEL 8:

# Install Python 3.8 packages sudo dnf install python38-devel -y # Reset and enable Node.js version 20 sudo dnf module reset nodejs sudo dnf module enable nodejs:20 -y sudo dnf install nodejs -y # Install configurable-http-proxy sudo npm install -g configurable-http-proxy

On Ubuntu 20:

# Install Python 3.8 packages sudo apt update sudo apt install -y python3.8 python3.8-venv python3.8-dev ln -s /usr/bin/python3.8 /usr/local/bin/python3.8 # Reset and enable Node.js version 20 sudo apt remove nodejs npm -y curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install nodejs -y # Install configurable-http-proxy sudo npm install -g configurable-http-proxy ln -s /usr/bin/configurable-http-proxy /usr/local/bin/configurable-http-proxy

On Ubuntu 22:

sudo apt update sudo apt install -y software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt update sudo apt install -y python3.8 python3.8-venv python3.8-dev # Reset and enable Node.js version 20 sudo apt remove nodejs npm -y curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install nodejs -y # Install configurable-http-proxy sudo npm install -g configurable-http-proxy ln -s /usr/bin/configurable-http-proxy /usr/local/bin/configurable-http-proxy
Info

The Node.js version 20 or above is required for JupyterHub to work correctly.


  Last updated