How to install Node.js?

I am completely new for node.js. By reading tutorials I downloaded
“node-v0.10.26”.

But I don’t know how to install it on ubuntu12.04?

Kind regards.

Anyway, you can find the instructions here:

On Mar 19, 2014, at 11:57 AM, Jaimin P. [email protected]
wrote:

I am completely new for node.js. By reading tutorials I downloaded
“node-v0.10.26”.

But I don’t know how to install it on ubuntu12.04?

Perhaps look for a node.js mailing list???


Scott R.
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
:slight_smile:
2014-03-19 13:40 GMT-05:00 Walter Lee D. [email protected]:

I’ve gotten bitten by the name, too. Look for a package called nodejs,
not node.

Walter

On Wednesday, March 19, 2014 2:54:43 PM UTC-4, Orlando H. wrote:

But I don’t know how to install it on ubuntu12.04?

.

https://groups.google.com/d/msgid/rubyonrails-talk/0AA30515-4F08-45FF-AB43-26975B99A9B2%40wdstudio.com

.
For more options, visit https://groups.google.com/d/optout.

I would recommend you add chris-lea/node.js to your repository list
before
using apt-get. The version of node.js they keep in the standard
repository
tends to be old. It’s the same issue with Rails. The link that gnowoel
posted gives pretty good instructions.

Mike

On 19/03/2014 17:57, Jaimin P. wrote:

I am completely new for node.js. By reading tutorials I downloaded
“node-v0.10.26”.

But I don’t know how to install it on ubuntu12.04?

cd into the directory where you downloaded node then untar it.

Now run ‘./configure’ (without the quotes), then ‘make’, then ‘sudo make
install’ which will install it into /usr/local.

You’ll need to install ‘build-essential’ before you compile it:

‘sudo apt-get update
sudo apt-get install build-essential’

Cheers,

Phil…


currently (ab)using
CentOS 6.5, Debian Squeeze & Wheezy, Fedora 19 & 20, OS X Snow Leopard,
RHEL 7, Ubuntu Precise & Saucy
GnuGPG Key : http://phildobbin.org/publickey.asc
Based in London, UK

Phil D. wrote in post #1140440:

On 19/03/2014 17:57, Jaimin P. wrote:

I am completely new for node.js. By reading tutorials I downloaded
“node-v0.10.26”.

But I don’t know how to install it on ubuntu12.04?

cd into the directory where you downloaded node then untar it.

Now run ‘./configure’ (without the quotes), then ‘make’, then ‘sudo make
install’ which will install it into /usr/local.

You’ll need to install ‘build-essential’ before you compile it:

‘sudo apt-get update
sudo apt-get install build-essential’

I have done installation of node.js successfully.

Thank you very much

On Wednesday, March 19, 2014 2:54:43 PM UTC-4, Orlando H. wrote:

But I don’t know how to install it on ubuntu12.04?

.

https://groups.google.com/d/msgid/rubyonrails-talk/0AA30515-4F08-45FF-AB43-26975B99A9B2%40wdstudio.com

.
For more options, visit https://groups.google.com/d/optout.

I would make sure you add chris-lea/node.js to your repository as
Orlando
has in his response. The node.js they have in the standard repository
is
usually old (the same issue as rails). You will also need a few other
things installed such as python. The link gnowoel provides above has it
pretty well documented.