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 -yOn Ubuntu 20 and 22:
# Update package listssudo apt update# Install Python 3.11 development tools and other build essentialssudo apt install -y python3.11-dev build-essential# Install Node.js and npmsudo apt install -y nodejs npm# Install configurable-http-proxysudo npm install -g configurable-http-proxy# Reset and enable Node.js version 20sudo apt remove -y nodejs npmcurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt install -y nodejsThe Node.js version 20 or above is required for JupyterHub to work correctly.
Was this page helpful?