2

I have a chromebook with a Precise Ubuntu chroot on it.

I can't figure out how to install the current node.js from the tarball, because

./install
make
sudo make install

doesn't work.

  • What error message do you have ? – hg8 Dec 29 '15 at 15:09
  • ./install is just not a file. – Elliot A. Dec 29 '15 at 20:14
  • Is there a particular reason why you want to compile nodejs? – hg8 Dec 30 '15 at 7:54
  • @hg8 I have a few things to do that I need to install it for. – Elliot A. Dec 30 '15 at 13:39
  • So using apt-get is not okay for you? – hg8 Dec 30 '15 at 13:41
3

You don't need to compile NodeJS by yourself. The easiest way to install NodeJS is using the official PPA (which contains the latest version — 4.2.4 as of today).

Open a terminal (Ctrl+Alt+T) and :

  1. Install curl

    sudo apt-get install curl
    
  2. Install NodeJS :

    curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
    sudo apt-get install -y nodejs
    

That's it!

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.