How to install node-xmpp on ubuntu

How to install node-xmpp in Ubuntu.

+6
source share
1 answer

Node.js dependencies

sudo aptitude install build-essential sudo apt-get install libssl-dev 

Install node.js and npm the correct way

 echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc . ~/.bashrc mkdir ~/local mkdir ~/node-latest-install cd ~/node-latest-install curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 ./configure --prefix=~/local make install curl http://npmjs.org/install.sh | sh 

Install node-xmpp dependencies

 sudo apt-get install libexpat1 libexpat1-dev npm install node-expat sudo apt-get install libicu-dev npm install node-stringprep 

install node-xmpp

 npm install node-xmpp 
+11
source share

All Articles