Installing gtk2hs on Ubuntu is easy. First, install the dependencies
sudo apt-get install libgtk2.0-dev libpango1.0-dev libglib2.0-dev libcairo2-dev
and then install gtk2hs
cabal install gtk