Downloads

Official Releases

The latest versions of the libvirt C library can be downloaded from:

Hourly development snapshots

Once an hour, an automated snapshot is made from the git server source tree. These snapshots should be usable, but we make no guarantees about their stability:

GIT source repository

Libvirt code source is now maintained in a git repository available on libvirt.org:

      git clone git://libvirt.org/libvirt.git

It can also be browsed at:

      http://libvirt.org/git/?p=libvirt.git;a=summary

libvirt Application Development Guide

The guide is both a learning tool for developing with libvirt and an API reference document. It is a work in progress, composed by a professional author from contributions written by members of the libvirt team.

Contributions to the guide are VERY welcome. If you'd like to get your name on this and demonstrate your virtualisation prowess, a solid contribution to the content here will do it. :)

Downloadable PDF

PDF download is available here:

GIT source repository

The source is also in a git repository:

      git clone git://libvirt.org/libvirt-appdev-guide.git

Browsable at:

      http://libvirt.org/git/?p=libvirt-appdev-guide.git;a=summary

libvirt Installation

Compilation

libvirt uses the standard configure/make/install steps:

      gunzip -c libvirt-xxx.tar.gz | tar xvf -
      cd libvirt-xxxx
      ./configure --help

To see the options, then the compilation/installation proper:

      ./configure [possible options]
      make
      make install

At that point you may have to rerun ldconfig or a similar utility to update your list of installed shared libs.

Building from a source code checkout

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 autogen.sh command, passing the extra arguments as for configure. As an example, to do a complete build and install it into your home directory run:

      ./autogen.sh --prefix=$HOME/usr --enable-compile-warnings=error
      make
      make install