Installing node.js on ubuntu

Installing node.js on ubutnu

        1. https://github.com/joyent/node/wiki/Installation
        2. step 3a ) Installing on Unix (including BSD and Mac)
        3. sudo apt-get install git
        4. git clone git://github.com/joyent/node.git
        5. to install particular version we want the stable one.
        6. cd node
          git checkout v0.4.11 # optional.  Note that master is unstable.
          export JOBS=2 # optional, sets number of parallel commands.
          mkdir ~/local
        7. neccessary for configure
        8. sudo aptitude install build-essential
        9. sudo apt-get install libssl-dev
        10. ./configure –prefix=$HOME/local/node
          make
          make install
          echo ‘export PATH=$HOME/local/node/bin:$PATH’ >> ~/.profile
          echo ‘export NODE_PATH=$HOME/local/node:$HOME/local/node/lib/node_modules’ >> ~/.profile
          source ~/.profile

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in Node.js. Bookmark the permalink.

Leave a comment