Revision bbc50106 INSTALL

b/INSTALL
57 57
packages, except for RBD, DRBD and Xen::
58 58

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

  
64
If bitarray is missing it can be installed from easy-install::
65

  
66
  $ easy_install bitarray
67

  
68
Or on newer distributions (eg. Debian Wheezy) the above becomes::
64
For older distributions (eg. Debian  Squeeze) the package names are
65
different.::
69 66

  
70 67
  $ apt-get install lvm2 ssh bridge-utils iproute iputils-arping make \
71
                    ndisc6 python python-openssl openssl \
68
                    ndisc6 python python-pyopenssl openssl \
72 69
                    python-pyparsing python-simplejson python-bitarray \
73 70
                    python-pyinotify python-pycurl python-ipaddr socat fping
74 71

  
72
If bitarray is missing it can be installed from easy-install::
73

  
74
  $ easy_install bitarray
75

  
75 76
Note that this does not install optional packages::
76 77

  
77 78
  $ apt-get install python-paramiko python-affinity qemu-img
......
148 149

  
149 150
Some of these are also available as package in Debian/Ubuntu::
150 151

  
151
  $ apt-get install ghc6 libghc6-json-dev libghc6-network-dev \
152
                    libghc6-parallel-dev libghc6-deepseq-dev \
153
                    libghc6-curl-dev
154

  
155
Or in newer versions of these distributions (using GHC 7.x)::
156

  
157 152
  $ apt-get install ghc libghc-json-dev libghc-network-dev \
158 153
                    libghc-parallel-dev libghc-deepseq-dev \
159 154
                    libghc-utf8-string-dev libghc-curl-dev
160 155

  
156
Or in older versions of these distributions (using GHC 6.x)::
157

  
158
  $ apt-get install ghc6 libghc6-json-dev libghc6-network-dev \
159
                    libghc6-parallel-dev libghc6-deepseq-dev \
160
                    libghc6-curl-dev
161

  
161 162
In Fedora, some of them are available via packages as well::
162 163

  
163 164
  $ yum install ghc ghc-json-devel ghc-network-devel \

Also available in: Unified diff