[英]Nodejs latest version on Linux Mint
http://sideshowcoder.github.io/canned/ - requires me to have nodejs version 0.10.3 http://sideshowcoder.github.io/canned/-要求我安装nodejs版本0.10.3
I have Linux Mint 17 which runs 0.10.25. 我有运行0.10.25的Linux Mint 17。 Is the latest version of nodejs not available on Linux Mint?
Linux Mint上不存在最新版本的nodejs吗?
This is a bit of a strange versioning case as 0.10.25 is newer than 0.10.3, but 0.10.30 would be the newest of them all. 这是一个奇怪的版本控制情况,因为0.10.25比0.10.3更新,但0.10.30将是所有版本中的最新版本。
The latest version of Node is 0.10.33. Node的最新版本是0.10.33。 Instructions for installing the latest version of Ubuntu 14.04 is here 'How To Install Using a PPA' header.
有关安装最新版本的Ubuntu 14.04是这里 “如何安装使用PPA”标头。
nodejs updates faster than the Debian/Ubuntu repositories can keep up with. nodejs的更新速度快于Debian / Ubuntu仓库所能跟上的速度。 Debian is renowned for sticking with working software versions to maintain stability.
Debian因坚持使用有效的软件版本来保持稳定性而闻名。
nodejs.org provides simple instructions to install the latest versions using some very simple commands nodejs.org提供了使用一些非常简单的命令来安装最新版本的简单说明。
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs
Alternatively, for Node.js v7: 另外,对于Node.js v7:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs
Optional: install build tools To compile and install native addons from npm you may also need to install build tools: curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs
可选:安装构建工具要从npm编译和安装本机插件,您可能还需要安装构建工具:
sudo apt-get install -y build-essential
This method will uninstall the nodejs-legacy package which was a symlink from node -> nodejs. 此方法将卸载nodejs-legacy软件包,该软件包是来自node-> nodejs的符号链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.