通过 PPA 安装 Node.JS 不会获取最新版本

yuv*_*uvi 10 ppa nodejs

是的,我知道,这之前已经问过。但是当使用chris-leappa 或“官方方式”(我认为实际上是同一件事?)时,安装后你会得到这个:

~$ node --version
 v0.10.36
Run Code Online (Sandbox Code Playgroud)

所以有什么问题?那么目前官网的node版本已经是0.12了。这对我来说似乎是相当大的差距。

有没有更频繁更新的ppa?

小智 27

安装说明在这里:https : //nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories

# Note the new setup script name for Node.js v0.12
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -

# Then install with:
sudo apt-get install -y nodejs
Run Code Online (Sandbox Code Playgroud)