2008-04-23 17:08:31 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<h1 >Downloads</h1>
|
|
|
|
|
|
|
|
<h2>Official Releases</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The latest versions of the libvirt C library can be downloaded from:
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="ftp://libvirt.org/libvirt/">libvirt.org FTP server</a></li>
|
|
|
|
<li><a href="http://libvirt.org/sources/">libvirt.org HTTP server</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h2>Hourly development snapshots</h2>
|
|
|
|
|
|
|
|
<p>
|
2009-07-06 12:27:00 +00:00
|
|
|
Once an hour, an automated snapshot is made from the git server
|
2008-04-24 09:17:29 +00:00
|
|
|
source tree. These snapshots should be usable, but we make no guarantees
|
2008-04-23 17:08:31 +00:00
|
|
|
about their stability:
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<ul>
|
2009-07-06 12:27:00 +00:00
|
|
|
<li><a href="ftp://libvirt.org/libvirt/libvirt-git-snapshot.tar.gz">libvirt.org FTP server</a></li>
|
|
|
|
<li><a href="http://libvirt.org/sources/libvirt-git-snapshot.tar.gz">libvirt.org HTTP server</a></li>
|
2008-04-23 17:08:31 +00:00
|
|
|
</ul>
|
|
|
|
|
2009-07-07 08:34:55 +00:00
|
|
|
<h2>GIT source repository</h2>
|
2009-07-06 12:27:00 +00:00
|
|
|
<p> Libvirt code source is now maintained in a <a
|
|
|
|
href="http://git-scm.com/">git</a> repository available on
|
|
|
|
<a href="http://libvirt.org/git/">libvirt.org</a>:
|
2008-04-23 17:08:31 +00:00
|
|
|
</p>
|
2009-07-06 12:27:00 +00:00
|
|
|
<pre>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
2009-07-06 12:27:00 +00:00
|
|
|
git clone git://libvirt.org/libvirt.git
|
2008-04-23 17:08:31 +00:00
|
|
|
</pre>
|
2009-07-06 12:27:00 +00:00
|
|
|
<p>
|
|
|
|
It can also be browsed at
|
2008-04-23 17:08:31 +00:00
|
|
|
</p>
|
2009-07-06 12:27:00 +00:00
|
|
|
<pre>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
2009-07-16 15:50:38 +00:00
|
|
|
<a href="http://libvirt.org/git/?p=libvirt.git;a=summary">http://libvirt.org/git/?p=libvirt.git;a=summary</a>
|
2009-07-06 12:27:00 +00:00
|
|
|
</pre>
|
2010-07-26 14:32:42 +00:00
|
|
|
|
|
|
|
<h1>Installation</h1>
|
|
|
|
<h2>
|
|
|
|
<a name="Compilatio" id="Compilatio">Compilation</a>
|
|
|
|
</h2>
|
|
|
|
<p>As most UNIX libraries libvirt follows the "standard":</p>
|
|
|
|
<p>
|
|
|
|
<code>gunzip -c libvirt-xxx.tar.gz | tar xvf -</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>cd libvirt-xxxx</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>./configure --help</code>
|
|
|
|
</p>
|
|
|
|
<p>to see the options, then the compilation/installation proper</p>
|
|
|
|
<p>
|
|
|
|
<code>./configure [possible options]</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>make</code>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<code>make install</code>
|
|
|
|
</p>
|
|
|
|
<p>At that point you may have to rerun ldconfig or a similar utility to
|
2010-07-31 23:54:40 +00:00
|
|
|
update your list of installed shared libs.
|
2010-07-26 14:32:42 +00:00
|
|
|
</p>
|
|
|
|
|
2009-07-06 12:27:00 +00:00
|
|
|
<h2>Building from a source code checkout</h2>
|
|
|
|
<p> The libvirt build process uses GNU autotools, so after obtaining a
|
|
|
|
checkout it is necessary to generate the configure script and Makefile.in
|
|
|
|
templates using the <code>autogen.sh</code> command, passing the extra
|
2009-09-22 10:54:57 +00:00
|
|
|
arguments as for configure. As an example, to do a complete build and
|
2009-07-06 12:27:00 +00:00
|
|
|
install it into your home directory run:</p>
|
|
|
|
<pre>
|
2008-04-23 17:08:31 +00:00
|
|
|
|
|
|
|
./autogen.sh --prefix=$HOME/usr
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|