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
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 #
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.