Xmonad/Installing xmonad
From HaskellWiki
(add debian) |
(→Read me first: link to faq entry for login manager) |
||
| Line 2: | Line 2: | ||
== Read me first == | == Read me first == | ||
| - | After installing, you'll have an <code>xmonad</code> binary on your system. From there, you'll need to [[Xmonad/ | + | After installing, you'll have an <code>xmonad</code> binary on your system. From there, you'll need to [[Xmonad/Frequently_asked_questions#How_can_I_use_xmonad_with_a_display_manager.3F_.28xdm.2C_kdm.2C_gdm.29|wire xmonad up to your login manager]]. |
== Linux == | == Linux == | ||
Revision as of 16:28, 15 September 2008
Contents |
1 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.
2 Linux
2.1 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.
2.2 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/.
2.3 Fedora
2.4 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
2.5 Gobo
2.6 NixOS
2.7 Slackware
2.8 Source Mage
2.9 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 will either need to upgrade to Intrepid Ibez or install xmonad (and the Haskell X11 library on which it depends) through one of the #Generic options.
3 BSD
3.1 FreeBSD
3.2 NetBSD
3.3 OpenBSD
xmonad is in the ports tree. To install it,
sudo pkg_add xmonad
4 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.
5 Generic
5.1 From tarball
5.2 From Hackage
xmonad can be installed from source on any system with an up-to-date Haskell toolchain:
$ cabal install xmonad
