%general-entities; ]> Node.js-&nodejs-version; nodejs Introduction to Node.js Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. &lfs120_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &nodejs-md5sum; Download size: &nodejs-size; Estimated disk space required: &nodejs-buildsize; Estimated build time: &nodejs-time; Node.js Dependencies Required Recommended , , , and Optional http-parser and npm (an internal copy of npm will be installed if not present) Installation of Node.js If Python-3.12 is installed, fix the configure script: sed -e '/python3.11/i command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"' \ -e '/3, 11/s/\(.3, 11.\)/(3, 12), \1/' \ -i configure Build Node.js by running the following commands: ./configure --prefix=/usr \ --shared-cares \ --shared-libuv \ --shared-openssl \ --shared-nghttp2 \ --shared-zlib \ --with-intl=system-icu && make To test the results, issue: make test-only. Now, as the root user: make install && ln -sf node /usr/share/doc/node-&nodejs-version; Command Explanations --with-intl=system-icu: use the system version of icu. Other values are (to build a local, full icu library) and (to build a local, minimal icu library). --shared-{cares,libuv,nghttp2,openssl,zlib}: use the system installed libraries instead of local copies. : do not build npm (use if you'd like to build a separate npm later). : use the system installed library instead of a local copy. Contents Installed Programs Installed Library Installed Directories corepack, node, npm, and npx None /usr/include/node, /usr/lib/node_modules/{corepack,npm}, /usr/share/doc/{node,node-&nodejs-version;}, and /usr/share/systemtap/tapset Short Descriptions corepack is an experimental tool to help with managing versions of package managers. corepack node is the server-side JavaScript runtime node npm is the Node.js package manager npm /usr/lib/node_modules/npm/ is the installation root for Node.js executables and libraries