2008-04-23 17:08:31 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<h1>Deployment</h1>
|
|
|
|
|
2010-10-23 21:46:32 +00:00
|
|
|
<ul id="toc"></ul>
|
|
|
|
|
|
|
|
<h2><a name="packages">Pre-packaged releases</a></h2>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
|
|
|
<p>
|
2010-10-23 21:46:32 +00:00
|
|
|
The libvirt API is now available in all major Linux distributions,
|
2008-04-23 17:08:31 +00:00
|
|
|
so the simplest deployment approach is to use your distributions'
|
|
|
|
package management software to install the <code>libvirt</code>
|
|
|
|
module.
|
|
|
|
</p>
|
|
|
|
|
2010-10-23 21:46:32 +00:00
|
|
|
<h2><a name="tarball">Self-built releases</a></h2>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2010-10-23 21:46:32 +00:00
|
|
|
<h2><a name="git">Built from GIT</a></h2>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
|
|
|
<p>
|
2010-01-08 00:40:38 +00:00
|
|
|
When building from GIT it is necessary to generate the autotools
|
2008-04-23 17:08:31 +00:00
|
|
|
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>
|