murilobr opened this Issue Sep 15, 2012 · 9 comments


None yet
8 participants


  • Install curl

    sudo apt-get install curl
  • Run yeoman installation

    Verify what is already installed, just to avoid re-installation.

    curl -L | bash
  • Install git

    sudo apt-get install git
  • Install NodeJS

    sudo apt-get install python g++
    wget -N
    tar xzvf node-latest.tar.gz && cd `ls -rd node-v*`
    sudo make install
  • Install ruby

    sudo apt-get install ruby
  • Install rubygems

    sudo apt-get install rubygems
  • Install compass

    gem install compass
    sudo ln -s /var/lib/gems/1.8/bin/compass /usr/local/bin/compass
  • Install PhantomJS

    sudo apt-get install libfontconfig
    wget -N
    tar xjvf phantomjs-1.6.1-linux-i686-dynamic.tar.bz2
    sudo mv phantomjs-1.6.1-linux-i686-dynamic /opt/phantomjs
    sudo ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
  • Install jpegtran

    sudo apt-get install libjpeg-progs
  • Install optipng

    sudo apt-get install optipng
  • Install yeoman

    sudo npm install -g yeoman

Any problem send a comment.


paulirish commented Sep 18, 2012

thank you! added a link to this on


paulirish closed this Sep 18, 2012

@paulirish I'm happy to collaborate with this project. Thanks.

@murilobr Thanks. It works perfect.

Just a quick note: sudo apt-get install opting should read => sudo apt-get install optipng
I noticed because I was using Cut and Paste...

@EbrahimPatel Thanks. Updated!

I don't know if the new version has any disadvantages, but the command for the most recent phantomjs version 1.7.0 32bit is

 wget -N

or 64bit:

wget -N

(check your architecture with uname -m)

if anyone needs this...

command for using update-alternatives rather than an explicit symlink

sudo update-alternatives --install /usr/bin/phantomjs phantomjs /opt/phantonjs/bin/phantomjs 10

Hi, any tips for this issue ? (using Debian Squeeze)

npm http 200
npm ERR! Error: package lacks shasum
npm ERR! at fetchit (/usr/local/lib/node_modules/npm/lib/cache.js:742:19)
npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:712:14)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:699:5
npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!

npm ERR! System Linux 2.6.32-5-686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yeoman"
npm ERR! cwd /home/carles
npm ERR! node -v v0.8.20
npm ERR! npm -v 1.2.11

edap commented Mar 2, 2013

@murilobr thanks, works

fsievers commented Jul 5, 2014

If I install optipng, I got build problems with grunt. My solution was to uninstall optipng and use the version that is installed when running yeoman. As additional dependency, I need to install the packages 'libjpeg8-dev', 'libgif-dev' and 'libpng12-dev'.

sindresorhus locked and limited conversation to collaborators Jul 5, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.