From: Michal Privoznik
- $ xz -c libvirt-x.x.x.tar.xz | tar xvf - - $ cd libvirt-x.x.x - $ ./configure+$ xz -c libvirt-x.x.x.tar.xz | tar xvf - +$ cd libvirt-x.x.x +$ ./configure
The configure script can be given options to change its default @@ -28,7 +28,7 @@
- $ ./configure --help+$ ./configure --help
When you have determined which options you want to use (if any), @@ -49,9 +49,9 @@
- $ ./configure [possible options] - $ make - $ sudo make install+$ ./configure [possible options] +$ make +$ sudo make install
At this point you may have to run ldconfig or a similar utility @@ -91,7 +91,7 @@ drive or manual download, and run this any time libvirt.git updates the commit stored in the .gnulib submodule:
- $ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git
+$ GNULIB_SRCDIR=/path/to/gnulib ./autogen.sh --no-git
To build & install libvirt to your home @@ -99,9 +99,9 @@
- $ ./autogen.sh --prefix=$HOME/usr - $ make - $ sudo make install+$ ./autogen.sh --prefix=$HOME/usr +$ make +$ sudo make install
Be aware though, that binaries built with a custom prefix will not @@ -111,8 +111,8 @@
- $ ./autogen.sh --system
- $ make
+$ ./autogen.sh --system
+$ make
@@ -123,9 +123,9 @@
- $ 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
@@ -134,7 +134,7 @@
- $ ./run ./tools/virsh ....
+$ ./run ./tools/virsh ....