0

I am trying to install node on an Ubuntu Mate (16.04) system running on 32bit . Why can't I install node using apt-get install node? I see that I have nodejs in the package manager and have installed it successfully and it creates usr/bin/nodejs. However, when I run npm start on an app, it is looking for node in usr/bin/env and there is no usr/bin/env directory.

Also, installing nodejs does not seem to also include npm...

  • I don't know the specific software, but in my 16.04 LTS system, /usr/bin/env is a binary executable file, and not a directory. – sudodus Sep 30 '17 at 19:34
  • Please remove and re-install, seems wasn't installed well. – George Udosen Sep 30 '17 at 19:40
  • Got it figured out googling around. You need to create a symbolic link to nodejs: ln -s /usr/bin/nodejs /usr/bin/node That did the trick for me. – mo_maat Oct 1 '17 at 3:37
0

Got it figured out googling around. You need to create a symbolic link to nodejs: ln -s /usr/bin/nodejs /usr/bin/node That did the trick for me. However, I did go back and totally remove this older version of nodejs that was available through my package manager.

On the node js site there is a 32 bit version of node 6 LTS and instructions for installation that worked great for me on an older 32 bit system.

https://nodejs.org/en/download/package-manager/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.