简体   繁体   English

在Ubuntu中安装NodeJS

[英]Installation of NodeJS in Ubuntu

I have installed node.js and the version is 0.6.12 . 我已经安装了node.js,版本是0.6.12。 I am trying to update it but the efforts are invain.Even though i have installed the latest version the Terminal still shows the version as 0.6.12 which means that the installation is not successfull. 我正在尝试更新它,但是努力没有用。即使我已经安装了最新版本,终端仍然显示版本为0.6.12,这意味着安装没有成功。 Please help . 请帮忙 。 The screen shot is http://tinypic.com/r/nx3wo6/8 屏幕截图是http://tinypic.com/r/nx3wo6/8

You should use chris-lea/node.js ppa, so: 您应该使用chris-lea/node.js ppa,因此:

sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

Also if you want to learn more here is a pretty decent reference. 另外,如果您想了解更多信息,请参考。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM