How do I install node.js in Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for
node.js, or do I have to compile it myself?
You can use the official node.js PPA:
If you're on Ubuntu Server, first do this:
Then, do this:
Then, you have the latest version of node.js installed.
Yes, go to Synaptic, search for "nodejs". The packages are located in the universe repository. I suggest you install all of the packages starting with nodejs if you are doing development.
Just in case that doesn't work:
That will download the sourcecode of node.js, make it and install it.
Node is one of the easier projects to build. Just change the version as that continues to change.
You should see