Getting epeg Node.js bindings working on Ubuntu 14.04

Install pre-requisites:

sudo apt-get install git g++  
sudo apt-get install libjpeg-dev libexif-dev  

EPEG works only with Node v0.10.x (until someone upgrades the interfaces to V8).

curl -o- | bash

export NVM_DIR="$HOME/.nvm"  
[ -s "$NVM_DIR/" ] && . "$NVM_DIR/" # This loads nvm

nvm install 0.10  

Install Node.js v0.10.x and run

npm i epeg  
comments powered by Disqus