clarkk
clarkk

Reputation: 27685

install node.js on debian

How to install node.js on Debian Wheezy

Have followed instructions but it doesn't work

https://github.com/joyent/node/wiki/Installation

# wget http://nodejs.org/dist/v0.10.24/node-v0.10.24-linux-x64.tar.gz
# tar -zxf node-v0.10.24-linux-x64.tar.gz && cd node-v0.10.24-linux-x64
# ./configure && make && make install

The first two lines turn out well, but when running the third line this error is returned

-bash: ./configure: No such file or directory

node.js dir

root@dyntest-amd-6000-8gb ~/node-v0.10.24-linux-x64 # ls
bin  ChangeLog  include  lib  LICENSE  README.md  share
root@dyntest-amd-6000-8gb ~/node-v0.10.24-linux-x64 #

Upvotes: 0

Views: 1186

Answers (1)

Peter Lyons
Peter Lyons

Reputation: 146014

Looks like you downloaded a binary distribution but you are running commands as if you are trying to build from source. You don't need configure or make. It's already an executable ready to go. Just run ~/node-v0.10.24-linux-x64/bin/node and the repl should start up.

Upvotes: 3

Related Questions