Skip to content

Instantly share code, notes, and snippets.

@tschiela
Created March 12, 2014 17:33
Show Gist options
  • Save tschiela/9511978 to your computer and use it in GitHub Desktop.
Save tschiela/9511978 to your computer and use it in GitHub Desktop.
1. sudo apt-get install python g++ make checkinstall
2. mkdir ~/src && cd $_
3. wget -N http://nodejs.org/dist/node-latest.tar.gz
4. tar xzvf node-latest.tar.gz && cd node-v*
5. ./configure
6. sudo checkinstall -y --install=no --pkgversion 0.10.24
7. # optional " -- make –j x install" mit x = Anzahl der CPU Kerne
8. sudo dpkg -i node_*
9. Node global aufrufbar machen:
a. /.profile oder ~/.bash_profile oder ~/.bashrc oder ~/.zshenv
b. export PATH=$PATH:/opt/node/bin
10. Node deinstallieren: sudo dpkg -r node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment