简体   繁体   English

Node.js在Linux Mint上的最新版本

[英]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.

相关问题 如何在Linux Mint中永久设置Node.js的类路径? - How to Permanently setup Class path of Nodejs in Linux Mint? PM2没有安装最新版本的nodejs - PM2 not taking the latest version of nodejs installed 为什么用 Zeit pkg 打包后我的 NodeJS 应用程序在 Linux mint cinnamon 19.1 中作为后台进程运行 - Why my NodeJS app after packing with Zeit pkg is running as a background process in Linux mint cinnamon 19.1 如何在Node.js Linux上判断/更改JavaScript版本 - How to tell/change version of javascript on nodejs Linux 如何使用 Nodejs 永久删除最新版本的 S3 Object - How to permanently delete latest version of S3 Object using Nodejs 尽管使用了最新版本的nodejs,但仍发生“ EventEmitter内存泄漏” - “EventEmitter memory leak ” occuring inspite of using latest version of nodejs 如何在linux mint中的express js上运行mysql - how to run mysql on express js in linux mint Mongodb Shell 4.0.0未在Linux Mint 18上安装 - Mongodb shell 4.0.0 not installing on Linux mint 18 TypeError:game.HexRenderer不是Linux Mint上的构造函数 - TypeError: game.HexRenderer is not a constructor on Linux Mint 滚动位置在Linux Mint,Chrome或Firefox上不起作用 - Scroll position not working on linux mint, Chrome or Firefox
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM