Install Nodejs in openSUSE and up date

466 ワード

Install
  • download and extra the tar ball file
  • cd folder then run ./configure/
  • make && sudo make install
  • Update
  • sudo npm cache clear -f
  • sudo npm install -g n
  • sudo npm stable
  • do a bunch of ln-s where the new executable file is in /usr/local/n/versions/node/0.12.7/bin/node、same as the npm