Skip to content

Building NobleHashes

linuxonz edited this page Dec 12, 2024 · 4 revisions

Building noble-hashes

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

  • RHEL (8.8, 8.10, 9.2, 9.4, 9.5)
  • SLES 15 SP6
  • Ubuntu (20.04, 22.04, 24.04, 24.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.8, 8.10, 9.2, 9.4, 9.5)

    sudo yum install -y --allowerasing tar xz wget curl git nodejs npm
  • SLES 15 SP6

    sudo zypper install -y nodejs20 npm20 tar xz wget curl git
  • Ubuntu (20.04, 22.04, 24.04, 24.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)

npm show @noble/hashes version

The output should be similar to:

1.6.1

References

Clone this wiki locally