Make sure, the following programs are installed on the machine. By default none of them is installed.

Haskell Compiler

First of all the haskell compiler `ghc` is needed. This is due to you have to compile your `xmonad.hs` file to load new

{% highlight bash %} sudo apt-get install ghc {% endhighlight %}


The window manager xmonad is the next. You can do this, with the
following command.

{% highlight bash %} sudo apt-get install xmonad {% endhighlight %}

Within Ubuntu 12.04LTS the xmonad version 0.10 is used. At the time of writing this post, there is a newer version: 0.11. Howto install the latest xmonad, will be handled in another article.


It is a good idea to install the `xmonad-contrib` library. This is not mandatory to run xmonad, but it's highly recommended.
(Sometimes the xmonad-contrib is installed together with xmonad)

{% highlight bash %} sudo apt-get install xmonad-contrib {% endhighlight %}


If you want to startup the X11 system with the `startx` command,
the `xinit` package is needed.

{% highlight bash %} sudo apt-get install xinit
{% endhighlight %}

Otherwise you have to configure your graphical logon manager
(e.g. gdm or kdm) to start the xmonad window manager.


Xmonad is a window manager. It does not include any kind of
information bar. However it integrates pretty well with e.g.

{% highlight bash %} sudo apt-get install gnome-panel
{% endhighlight %}

Alternatives would be:

  • xmobar
  • dzen


One of the most used programs will be a terminal. I like to use
`urxvt` as terminal. But any other terminal is fine.

{% highlight bash %} sudo apt-get install urxvt
{% endhighlight %}

If you want to stay with gnome standard tools, `gnome-terminal`
would be the one to use.