</p>
<pre>
- $ xz -c libvirt-x.x.x.tar.xz | tar xvf -
- $ cd libvirt-x.x.x
- $ ./configure</pre>
+$ xz -c libvirt-x.x.x.tar.xz | tar xvf -
+$ cd libvirt-x.x.x
+$ ./configure</pre>
<p>
The <i>configure</i> script can be given options to change its default
</p>
<pre>
- $ ./configure <i>--help</i></pre>
+$ ./configure <i>--help</i></pre>
<p>
When you have determined which options you want to use (if any),
</p>
<pre>
- $ ./configure <i>[possible options]</i>
- $ make
- $ <b>sudo</b> <i>make install</i></pre>
+$ ./configure <i>[possible options]</i>
+$ make
+$ <b>sudo</b> <i>make install</i></pre>
<p>
At this point you <b>may</b> have to run ldconfig or a similar utility
drive or manual download, and run this any time libvirt.git
updates the commit stored in the .gnulib submodule:</p>
<pre>
- $ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git
+$ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git
</pre>
<p>To build & install libvirt to your home
</p>
<pre>
- $ ./autogen.sh --prefix=$HOME/usr
- $ make
- $ <b>sudo</b> make install</pre>
+$ ./autogen.sh --prefix=$HOME/usr
+$ make
+$ <b>sudo</b> make install</pre>
<p>
Be aware though, that binaries built with a custom prefix will not
</p>
<pre>
- $ ./autogen.sh --system
- $ make
+$ ./autogen.sh --system
+$ make
</pre>
<p>
</p>
<pre>
- $ su -
- # service libvirtd stop (or systemctl stop libvirtd.service)
- # /home/to/your/checkout/daemon/libvirtd
+$ su -
+# service libvirtd stop (or systemctl stop libvirtd.service)
+# /home/to/your/checkout/daemon/libvirtd
</pre>
<p>
</p>
<pre>
- $ ./run ./tools/virsh ....
+$ ./run ./tools/virsh ....
</pre>
</body>
</html>