Install the latest version of Node.js_node.js on Ubuntu

Source: Internet
Author: User
Tags install node

Node.js contains the Google V8 JavaScript engine, and LIBUV libraries and core libraries are written almost all using JavaScript. The LIBUV library provides an abstraction and node.js Cross-platform mechanism for asynchronous event I/O.

Node.js was originally created by Ryan Dahl and is currently evolving and maintained by Isaac Schlueter.

There are a lot of articles compiled from source code to install Node.js on the Internet, and I strongly recommend that you do not use this method. In most cases, the package maintainer understands the software structure very well and the developer does not have to compile the latest version of the source code from scratch.

The following methods apply to the latest version of Ubuntu, Ubuntu 12.04 LTS, Ubuntu 12.10, Ubuntu 13.04, and so on. It helps developers install Node.js on Ubuntu without having to compile the installation from scratch. You can execute 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 has been executed, the latest version of the Node.js is installed, with any concerns. Once a new version of Node.js is released, you can upgrade directly from the package manager without compiling 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.