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
    

Installation

Compilation

As most UNIX libraries libvirt follows the "standard":

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
      make
      make install