Difference between revisions of "Xmonad/Installing xmonad"

From HaskellWiki
Jump to navigation Jump to search
(→‎Ubuntu: add note about recompile blogpost)
(→‎Ubuntu: ugh, wiki markup)
Line 45: Line 45:
   
 
Note: On Hardy Heron and earlier, the libghc6-x11-dev package was compiled without Xinerama support. This means that if you want multi-monitor support, you have three options:
 
Note: On Hardy Heron and earlier, the libghc6-x11-dev package was compiled without Xinerama support. This means that if you want multi-monitor support, you have three options:
* upgrade to Intrepid Ibez
+
* upgrade to Intrepid Ibez
* install xmonad (and the Haskell X11 library on which it depends) through one of the [[#Generic]] options
+
* install xmonad (and the Haskell X11 library on which it depends) through one of the [[#Generic]] options
* follow the instructions in [http://basildoncoder.com/blog/2008/08/10/ubuntu-xmonad-and-an-ode-to-apt/ this blog post] to recompile the libghc6-x11-dev yourself (unverified)
+
* follow the instructions in [http://basildoncoder.com/blog/2008/08/10/ubuntu-xmonad-and-an-ode-to-apt/ this blog post] to recompile the libghc6-x11-dev yourself (unverified)
   
 
== BSD ==
 
== BSD ==

Revision as of 07:50, 19 September 2008

Xmonad-logo-small.png

XMonad


Read me first

After installing, you'll have an xmonad binary on your system. From there, you'll need to wire xmonad up to your login manager.

Linux

Arch

 $ pacman -S xmonad-contrib # for the xmonad core and contrib packages

or else:

 $ pacman -S xmonad         # for just the xmonad core package

See xmonad on ArchWiki for more info.

Debian

To install:

 $ apt-get install xmonad                     # for just the xmonad binary, without the ability to configure

In addition to that, if you want to write a configuration file, you should get one of these:

 $ apt-get install libghc6-xmonad-contrib-dev # for all of xmonad core and xmonad-contrib (depends on the following pkg)
 $ apt-get install libghc6-xmonad-dev         # for just xmonad core

There are also -doc and -prof suffixes for various packages. I'm not sure what they contain.

Note: The are backports available for debian etch at http://newpeople.debian.org/~jps/etch/.

Fedora

Gentoo

 $ emerge xmonad-contrib 
 # the contrib package depends on xmonad so it gets also installed
 if you only want to install xmonad without contrib you could use:
 $ emerge xmonad

Gobo

NixOS

Slackware

Source Mage

Ubuntu

See #Debian.

Note: On Hardy Heron and earlier, the libghc6-x11-dev package was compiled without Xinerama support. This means that if you want multi-monitor support, you have three options:

  • upgrade to Intrepid Ibez
  • install xmonad (and the Haskell X11 library on which it depends) through one of the #Generic options
  • follow the instructions in this blog post to recompile the libghc6-x11-dev yourself (unverified)

BSD

FreeBSD

NetBSD

OpenBSD

xmonad is in the ports tree. To install it,

 sudo pkg_add xmonad

Mac OS X

Install ghc using MacPorts:

 $ port install ghc

And then follow one of the #Generic instructions.

See more at Xmonad/Using xmonad on Apple OSX.

Generic

From tarball

From Hackage

xmonad can be installed from source on any system with an up-to-date Haskell toolchain:

 $ cabal install xmonad