Building NobleHashes - linux-on-ibm-z/docs GitHub Wiki
Building noble-hashes
The instructions provided below specify the steps to install noble-hashes version 2.4.0 on Linux on IBM Z for following distributions:
- RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
- SLES (15 SP7,16)
- Ubuntu (22.04, 24.04)
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Install noble-hashes
1. Install build dependencies
export SOURCE_ROOT=/<source_root>/
-
RHEL (8.10, 9.6, 9.7, 9.8, 10.0, 10.1, 10.2)
sudo yum module enable nodejs:20 # Only for RHEL 8.10 sudo yum install -y tar xz wget curl git nodejs npm -
SLES (15 SP7,16)
sudo zypper install -y nodejs22 npm22 tar xz wget curl git -
Ubuntu (22.04, 24.04)
sudo apt-get update sudo apt-get install -y tar xz-utils wget curl git nodejs npm
2. Download noble-hashes
sudo npm install @noble/hashes
3. Verification(Optional)
sudo npm show @noble/hashes version
The output should be similar to:
2.4.0