Skip to content

Instantly share code, notes, and snippets.

@goldalworming
Created October 21, 2014 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldalworming/9e32fb7c6c6ad6f0713e to your computer and use it in GitHub Desktop.
Save goldalworming/9e32fb7c6c6ad6f0713e to your computer and use it in GitHub Desktop.
install xmpp
Dependencies node.js
sudo aptitude install build-essential
sudo apt-get install libssl-dev
Install node.js & 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment