Packages needed to install gtk2hs on ubuntu

When trying to install Gtk2Hs I wonder which Debian packages are required before using cabal to install gtk. So here is my little personal reminder:

sudo apt-get install libglib2.0-dev libgio2.0-cil-dev libcairo2-dev libpango1.0-dev libgtk2.0-dev

One might also want to install glade and gtksourceview:

sudo apt-get install libglade2-dev libgtksourceview2.0-dev 

After installing these packages one can easily install gtk2hs via cabal:

cabal install gtk2hs-buildtools
cabal install gtk
Advertisements