Building NobleHashes - linux-on-ibm-z/docs GitHub Wiki

Building noble-hashes

The instructions provided below specify the steps to install noble-hashes 2.2.0 on Linux on IBM Z for following distributions:

  • RHEL (8.10, 9.6, 9.7, 10.0, 10.1)
  • SLES 15 SP7
  • Ubuntu (22.04, 24.04, 25.10)

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, 10.0, 10.1)

    sudo yum module enable nodejs:20 # Only for RHEL 8.10
    sudo yum install -y --allowerasing tar xz wget curl git nodejs npm
    
  • SLES 15 SP7

    sudo zypper install -y nodejs22 npm22 tar xz wget curl git
    
  • Ubuntu (22.04, 24.04, 25.10)

    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.2.0

References