Install node.js on debian

How to install node.js on Debian Wheezy

Follow instructions but 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 fine, but running the third line returns this error

-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 #

      

0


source to share


1 answer


It looks like you downloaded a binary distribution, but you are using the commands as if you were trying to build from source. You don't need configure

or make

. This already executable file is ready to work. Just run ~/node-v0.10.24-linux-x64/bin/node

and repl should run.



+3


source







All Articles