node-js

Discussion in 'Debian' started by bhakta, Jan 22, 2014.

  1. bhakta

    bhakta New Member

    Joined:
    Nov 22, 2013
    Messages:
    16
    Likes Received:
    0
    Install node.js Debian Wheezy

    sudo apt-get install python g++ build-essentials make checkinstall

    Code:
    mkdir ~/src && cd $_
    wget -N http://nodejs.org/dist/node-latest.tar.gz
    tar xzvf node-latest.tar.gz && cd node-v*
    ./configure —without-snapshot
    sudo checkinstall -y --install=no --pkgversion 0.10.24 -- make -j4 install
    sudo dpkg -i node_*
    
    NOTE: the "--pkgversion x.xx.xx -- make -jx install" part the x should be subed with version # and -j2 for the dual -j4 for quad
    verify installation with
    ./node -v
    ./node -e 'console.log("it works");'
     

Share This Page