`

installing node.js on ubuntu

阅读更多

Installing node.js

As mine was a clean Ubuntu installation, I needed to install certain libraries first.

sudo apt-get install g++ curl libssl-dev apache2-utils

The easiest way is to download node.js is to get a git clone. For that I needed to install the git package.

sudo apt-get install git-core

Now download node.js with git.

git clone git://github.com/ry/node.git

If you do not want to use git you could get the tar package instead.

wget http://nodejs.org/dist/node-v0.1.96.tar.gz
gunzip node-v0.1.96.tar.gz
tar -xf node-v0.1.96.tar

 

apt-get install pkg-config


Now you are ready to install node.js.

cd node
./configure
make
sudo make install

 

分享到:
评论

相关推荐

    Professional Node.js

    在第一章“Installing Node”中,作者详细介绍了如何在不同的操作系统上安装Node.js,包括Windows、Linux和macOS,以及如何验证安装是否成功。这一章还涉及到了npm(Node Package Manager)的使用,这是一个用于管理...

    Practical Node.js: Building Real-World Scalable Web Apps, 2nd Edition

    Practical Node.js takes you from installing all the necessary modules to writing full-stack web applications. You'll harness the power of the Express.js and Hapi frameworks, the MongoDB database with ...

    Practical Node.js: Building Real-World Scalable Web Apps

    Practical Node.js takes you from installing all the necessary modules to writing full-stack web applications by harnessing the power of the Express.js and Hapi frameworks, the MongoDB database with ...

    Node JS 实战最新版

    This book draws on their considerable experience, taking you from the very first steps of installing Node.js on your computer all the way to creating, debugging, and deploying production applications....

    [Mastering.Node.js(2013.11) 精通Node.js

    学习node.js的好书 下面是目录: Preface 1 Chapter 1: Understanding the Node Environment 7 Extending JavaScript 9 Events 10 Modularity 12 The Network 13 V8 15 Memory and other limits 16 Harmony 18 The ...

    Node.js-以编程方式将NPM依赖项安装到项目中

    在Node.js开发中,管理项目依赖是至关重要的。NPM(Node Package Manager)是Node.js的默认包管理器,它允许开发者轻松地安装、更新和卸载项目所需的库和工具。本篇主要讨论如何以编程的方式,而非通过命令行工具,...

    CentOS上安装Node.js和mongodb笔记

    今天在QCon上听了袁锋的分享《Node.js脱离了浏览器的Javascript》之后,顿时有了想立刻试一下的冲动。 Node.js的安装步骤算是比较简单,没有太多的弯路,主要参考文档: Building and Installing Node.js  1. 安装...

    openwrt-nodejs

    此包是AR9331主控的Openwrt系统上运行的node所需要的两个包(uclibcxx_0.2.4-1_ar71xx及node_v0.10.17-2_ar71xx)...Installing node (v0.10.17-2) to root... Configuring node. root@OpenWrt:/tmp# node -v v0.10.17

    express:示例Node.JS Express应用程序

    Node.js是一个基于Chrome V8引擎的JavaScript运行环境,它允许开发者在服务器端使用JavaScript进行编程。Node.js采用非阻塞I/O和事件驱动的模型,使其在处理高并发请求时表现出优秀的性能。 2. **Express框架**: ...

    PyPA Installing Packages.rar

    在PyPA Installing Packages.rar这个压缩包中,我们可以找到关于如何在Python环境中正确安装PyPA包的详细指南。下面将对这个主题进行深入的探讨。 1. **理解PyPA和PyPI** PyPA是Python打包社区的核心,它维护了一...

    udemy-the-complete-guide-to-nodejs

    Roberto Nogueira BSd EE, MSd CESolution Integrator ... Node.js is JavaScript 7:00[x] 5. Installing a Package with npm 6:57Section: 2Using the Node.js Module System[x] 6. require() 9:53[x] 7. Mo

    HockeyappDownloadAPI:一个node.js脚本,可从命令行窗口中的HockeyApp API下载构建。 您可以将其与任何喜欢的CLI工具一起使用

    这是一个简单的node.js脚本,可让您从HockeyApp API下载构建,因为它不提供易于下载的api。 ========= 您需要运行此脚本的内容: (1)安装Node.js和NPM You can follow this instruction here: ...

    Getting Started with Grunt: The JavaScript Task Runner

    The only requirement for this book is a basic understanding of objects and functions in JavaScript. Product Details Paperback: 132 pages Publisher: Packt Publishing (February 19, 2014) Language: ...

    NodeAPI:在Node.js + MongoDB上的简单RESTful API实现

    NodeAPI是基于顶级Node.js和Express.js与Mongoose.js进行MongoDB集成的R​​EST API服务器实现。 访问控制在OAuth2orize和Passport.js的帮助下遵循OAuth 2.0规范。 这是文章之后的更新代码。 正在运行的项目 手册 ...

    node-v9.11.1-x64

    Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行环境。Node.js 使用了一个事件驱动、非阻塞式 I/O 的模型,使其轻量又高效

    Installing STLinux on Ubuntu

    ### 安装STLinux在Ubuntu上的关键步骤与挑战 #### 概览 本文将深入探讨在Ubuntu上安装STLinux的全过程,重点解析由于包管理系统的差异而带来的挑战及其解决方案。对于那些希望在Ubuntu环境中利用STLinux强大功能的...

    SPA.Design.and.Architecture.Understanding.Single.Page.Web.Applications

    Summary SPA Design and Architecture teaches you the design and development skills you need to create SPAs. Includes an overview of MV* frameworks, unit testing...Appendix D Installing Node.js and Gulp.js

    Ubuntu.15.04.Server.with.systemd.Administration.and.Reference.epub

    Installing the Ubuntu Server Chapter 3. Usage Basics: Login, Interfaces, and Help Chapter 4. Managing Software Part 2: Services Chapter 5. Managing Services with systemd Chapter 6. Mail Servers ...

Global site tag (gtag.js) - Google Analytics