Revision fc6075dd INSTALL

b/INSTALL
46 46
- `affinity Python module <http://pypi.python.org/pypi/affinity/0.1.0>`_,
47 47
  optional python package for supporting CPU pinning under KVM
48 48
- `ElementTree Python module <http://effbot.org/zone/element-index.htm>`_,
49
  if running python 2.4 (optional, used by the ``ovfconverter`` tool)
49
  if running on python 2.4 (optional, used by the ``ovfconverter`` tool)
50 50
- `qemu-img <http://qemu.org/>`_, if you want to use ``ovfconverter``
51 51
- `fping <http://fping.sourceforge.net/>`_
52 52

  
......
59 59
  $ apt-get install lvm2 ssh bridge-utils iproute iputils-arping \
60 60
                    ndisc6 python python-pyopenssl openssl \
61 61
                    python-pyparsing python-simplejson \
62
                    python-pyinotify python-pycurl socat \
63
                    python-elementtree qemu
62
                    python-pyinotify python-pycurl socat fping
63

  
64
Note that this does not install optional packages::
65

  
66
  $ apt-get install python-paramiko python-affinity qemu-img
67

  
68
If some of the python packages are not available in your system,
69
you can try installing them using ``easy_install`` command.
70
For example::
71

  
72
  $ apt-get install python-setuptools
73
  $ cd / && sudo easy_install \
74
            affinity
75

  
64 76

  
65 77
On Fedora to install all required packages except RBD, DRBD and Xen::
66 78

  
67 79
  $ yum install openssh openssh-clients bridge-utils iproute ndisc6 \
68 80
                pyOpenSSL pyparsing python-simplejson python-inotify \
69
                python-lxml python-paramiko socat qemu-img
81
                python-lxm socat fping
82

  
83
For optional packages use the command::
70 84

  
85
  $ yum install python-paramiko python-affinity qemu-img
71 86

  
72 87
If you want to build from source, please see doc/devnotes.rst for more
73 88
dependencies.
......
136 151
  $ apt-get install ghc libghc-json-dev libghc-network-dev \
137 152
                    libghc-parallel-dev libghc-curl-dev
138 153

  
139
If using a distribution which does not provide them, the first install
140
the Haskell platform and then install the additional libraries via
154
If using a distribution which does not provide them, first install
155
the Haskell platform. You can also install ``cabal`` manualy::
156

  
157
  $ apt-get install cabal-install
158

  
159
Then install the additional libraries via
141 160
``cabal``::
142 161

  
143 162
  $ cabal install json network parallel curl
......
171 190

  
172 191
to install them.
173 192

  
193
.. _cabal-note:
194
.. note::
195
  If one of the cabal packages fails to install due to unfulfilled
196
  dependencies, you can try enabling symlinks in ``~/.cabal/config``.
197

  
198
  Make sure that your ``~/.cabal/bin`` directory (or whatever else
199
  is defined as ``bindir``) is in your ``PATH``.
200

  
174 201
Installation of the software
175 202
----------------------------
176 203

  

Also available in: Unified diff