How to install the latest version of node. js on Ubuntu

Source: Internet
Author: User
Tags install node

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.