How to install the latest version of node. js on Ubuntu
Chszs, reprint need to indicate. Blog home:Http://blog.csdn.net/chszs
node. JS is a software platform that is typically used to build large-scale server-side applications. node. JS uses JavaScript as its scripting language, allowing it to deliver ultra-high performance due to its non-blocking I/O design and the single-threaded event loop mechanism.
node. js contains the Google V8 JavaScript engine, and the LIBUV library and core libraries are almost always written using JavaScript. The LIBUV library provides an abstraction of asynchronous event I/O and a cross-platform mechanism for node. js.
node. JS was originally created by Ryan Dahl and is currently being evolved and maintained by Isaac Schlueter.
There are many articles on the Internet that compile and install node. js from source code, and I strongly recommend that you do not use this approach. In most cases, the package maintainer knows the software structure very clearly and the developer does not have to compile the latest version of the source code from scratch.
The following methods apply to the latest versions of Ubuntu, Ubuntu 12.04 LTS, Ubuntu 12.10, Ubuntu 13.04, and more. It helps developers install node. js on Ubuntu without having to compile the installation from scratch. You can perform the following commands on the cloud host:
# apt-get update# apt-get install-y python-software-properties software-properties-common# add-apt-repository PPA: chris-lea/node.js# apt-get update# apt-get Install Nodejs
Once the command is executed, the latest version of node. JS is installed and there is no need to worry about it. Once the new version of node. JS is released, you can upgrade directly from the package manager without having to compile the installation from scratch.