Acceldata
ODP

Last updated: Sep 25, 2026 09:24 UTC

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 and 9:

# Install Python 38 development tools and other build essentials  
sudo dnf install python38-devel 
sudo dnf groupinstall "Development Tools" 
# Install Node.js and npm  
sudo yum install nodejs 
sudo yum install -y npm 
# Install configurable-http-proxy  
sudo npm install -g configurable-http-proxy 
# Reset and enable Node.js version 20  
sudo dnf module reset nodejs 
sudo dnf module enable nodejs:20 -y 
sudo dnf install nodejs -y

On Ubuntu 20 and 22:

# Update package lists
sudo apt update

# Install Python 38 development tools and other build essentials
sudo apt install -y python38-dev build-essential

# Install Node.js and npm
sudo apt install -y nodejs npm

# Install configurable-http-proxy
sudo npm install -g configurable-http-proxy

# Reset and enable Node.js version 20
sudo apt remove -y nodejs npm
curl -fsSL https:__deb.nodesource.com_setup_20.x | sudo -E bash -
sudo apt install -y nodejs

Info

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