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:
x
# Install Python 3.11 development tools and other build essentials
sudo dnf install python3.11-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 3.11 development tools and other build essentials
sudo apt install -y python3.11-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
The Node.js version 20 or above is required for JupyterHub to work correctly.
Was this page helpful?