https://wiki.haskell.org/api.php?action=feedcontributions&user=Nareshov&feedformat=atomHaskellWiki - User contributions [en]2024-03-29T02:15:32ZUser contributionsMediaWiki 1.35.5https://wiki.haskell.org/index.php?title=Xmonad/Installing_xmonad&diff=39377Xmonad/Installing xmonad2011-04-05T17:05:11Z<p>Nareshov: </p>
<hr />
<div>{{xmonad}}<br />
<br />
== Read me first ==<br />
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]].<br />
<br />
== Linux ==<br />
=== Arch ===<br />
$ pacman -S xmonad-contrib # for the xmonad core and contrib packages<br />
or else:<br />
$ pacman -S xmonad # for just the xmonad core package<br />
<br />
See [http://wiki.archlinux.org/index.php/XMonad xmonad on ArchWiki] for more info.<br />
<br />
=== Debian ===<br />
To install:<br />
$ apt-get install xmonad # for just the xmonad binary, without the ability to configure<br />
In addition to that, if you want to write a configuration file, you should get one of these:<br />
$ apt-get install libghc6-xmonad-contrib-dev # for all of xmonad core and xmonad-contrib (depends on the following pkg)<br />
$ apt-get install libghc6-xmonad-dev # for just xmonad core<br />
<br />
There are also -doc and -prof suffixes for various packages. I'm not sure what they contain.<br />
<br />
Note: The are backports available for debian etch at http://newpeople.debian.org/~jps/etch/.<br />
<br />
=== Fedora ===<br />
To install:<br />
$ yum install xmonad<br />
<br />
=== Gentoo ===<br />
<br />
$ emerge xmonad-contrib <br />
# the contrib package depends on xmonad so it gets also installed<br />
<br />
if you only want to install xmonad without contrib you could use:<br />
$ emerge xmonad<br />
<br />
An actively maintained [[Gentoo|haskell]] overlay contains many<br />
newer or more obscure versions of projects, including ebuilds for<br />
darcs xmonad/contrib, cabal-install, haskellmode for vim, and many<br />
other goodies.<br />
<br />
=== Gobo ===<br />
<br />
=== NixOS ===<br />
<br />
=== Slackware ===<br />
<br />
=== Source Mage ===<br />
<br />
=== Ubuntu ===<br />
See [[#Debian]].<br />
<br />
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:<br />
* upgrade to >= Intrepid Ibex<br />
* install xmonad (and the Haskell X11 library on which it depends) through one of the [[#Generic]] options<br />
* 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)<br />
<br />
== BSD ==<br />
=== FreeBSD ===<br />
<br />
For only the window manager:<br />
<br />
# cd /usr/ports/x11-wm/hs-xmonad<br />
# sudo make install distclean<br />
<br />
And the contrib package:<br />
<br />
# cd /usr/ports/x11-wm/hs-xmonad-contrib<br />
# sudo make install distclean<br />
<br />
=== NetBSD ===<br />
=== OpenBSD ===<br />
<br />
xmonad is in the ports tree. To install it,<br />
<br />
sudo pkg_add xmonad<br />
<br />
== Mac OS X ==<br />
Install ghc using [http://www.macports.org/ MacPorts]:<br />
$ port install ghc<br />
And then follow one of the [[#Generic]] instructions.<br />
<br />
See more at [[Xmonad/Using xmonad on Apple OSX]].<br />
<br />
== Generic ==<br />
<br />
=== From tarball ===<br />
<br />
=== From Hackage ===<br />
<br />
xmonad can be installed from source on any system with an up-to-date Haskell toolchain:<br />
<br />
$ cabal install xmonad<br />
<br />
[[Category:XMonad]]</div>Nareshov