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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityYou 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 :
Install curl
sudo apt-get install curl
Install NodeJS :
curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install -y nodejs
That's it!
./install
is just not a file.