How can I install Node version 5.6.0 or higher on Ubuntu 16.04.4 LTS?
-1
votes
1
answer
39
views
The computer is running Ubuntu 16.04.4 LTS 64-bit. Running
nvm use 16.20.2
works fine and gives me nodejs 4.2.6 (checked with nodejs --version
). I'd like to use Node version 5.6.0 or higher on it, so I tried running:
user@server:~/test$ nvm use 18.18.2
But I get the error:
node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)
The error occurs because the Node.js version 18.18.2 requires a more recent glibc version (2.25, 2.27, or 2.28) that is not installed.
How can I install Node version 5.6.0 of higher on Ubuntu 16.04?
Asked by Franck Dernoncourt
(5533 rep)
Feb 20, 2025, 09:18 AM
Last activity: Feb 21, 2025, 05:36 AM
Last activity: Feb 21, 2025, 05:36 AM