I just installed Ubuntu 22.04 a few days ago. My laptop is almost entirely blank. So I am met with confusion when I try to install Nodejs using these DigitalOcean instructions and I get an error.
I do:
sudo apt update
sudo apt install nodejs
Run Code Online (Sandbox Code Playgroud)
The second command gives
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
javascript-common libc-ares2 libjs-highlight.js libnode72
Use 'sudo apt autoremove' …Run Code Online (Sandbox Code Playgroud)