Last active
December 28, 2015 12:59
-
-
Save hpherzog/7504099 to your computer and use it in GitHub Desktop.
Install node.js on debian wheezy.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get -y install \ | |
python \ | |
g++ \ | |
make \ | |
checkinstall | |
cd /tmp | |
mkdir node-install | |
cd node-install | |
wget -N http://nodejs.org/dist/node-latest.tar.gz | |
tar xzvf node-latest.tar.gz && cd node-v* | |
./configure | |
# Remove the "v" in front of the version number. | |
checkinstall | |
dpkg -i node_* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment