Difference between revisions of "Gtk2Hs/Linux"

From HaskellWiki
Jump to navigation Jump to search
(→‎Headline text: not installing ThreadScope)
m (→‎Ubuntu: mention the buildtools)
Line 7: Line 7:
 
and then install gtk2hs
 
and then install gtk2hs
   
  +
cabal install gtk2hs-buildtools
 
cabal install gtk
 
cabal install gtk

Revision as of 12:10, 12 September 2011

Ubuntu

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 gtk2hs-buildtools
   cabal install gtk