In retrospect I'm not sure if you really need the dev package for libgtk2.0.
sudo apt-get install bzip2 build-essential python zip unzip pkg-config libgtk2.0-dev gconf2 libdbus-1-dev libdbus-glib-1-dev yasm libasound2-dev libcurl4-gnutls-dev libxt-dev mesa-common-dev mkdir ~/tmp/firefox -p cd ~/tmp/firefox wget ftp://ftp.mozilla.org/pub/firefox/releases/18.0/source/firefox-18.0.source.tar.bz2 tar xvf firefox-18.0.source.tar.bz2 mkdir build/ cd build/ ../mozilla-release/./configure --prefix=$HOME/.firefox18 make make install echo "alias firefox18='$HOME/.firefox18/bin/firefox'" >> $HOME/.bashrc source $HOME/.bashrc
Launch by typing
firefox18