Packages needed to install gtk2hs on ubuntu

Posted on Updated on

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s