aboutsummaryrefslogtreecommitdiff
blob: 8ef383b4234cf8368e11a6faff4852266d7020b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
  <body>
    <h1>Deployment</h1>

    <ul id="toc"></ul>

    <h2><a name="packages">Pre-packaged releases</a></h2>

    <p>
      The libvirt API is now available in all major Linux distributions,
      so the simplest deployment approach is to use your distributions'
      package management software to install the <code>libvirt</code>
      module.
    </p>

    <h2><a name="tarball">Self-built releases</a></h2>

    <p>
      libvirt uses GNU autotools for its build system, so deployment
      follows the usual process of <code>configure; make ; make install</code>
    </p>

    <pre>

      # ./configure --prefix=$HOME/usr
      # make
      # make install
    </pre>

    <h2><a name="git">Built from GIT</a></h2>

    <p>
      When building from GIT it is necessary to generate the autotools
      support files. This requires having <code>autoconf</code>,
      <code>automake</code>, <code>libtool</code> and <code>intltool</code>
      installed. The process can be automated with the <code>autogen.sh</code>
      script.
    </p>

    <pre>

      # ./autogen.sh --prefix=$HOME/usr
      # make
      # make install
    </pre>

  </body>
</html>