source: postlfs/virtualization/libvirt.xml@ 87679b2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 87679b2 was 87679b2, checked in by Krejzi <krejzi@…>, 12 years ago

add missing deps to libvirt

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10002 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libvirt-download-http "http://libvirt.org/sources/libvirt-&libvirt-version;.tar.gz">
8 <!ENTITY libvirt-download-ftp " ">
9 <!ENTITY libvirt-md5sum "6e9fab115075a8fd21d9bd0d7e558a52">
10 <!ENTITY libvirt-size "19 MB">
11 <!ENTITY libvirt-buildsize "230 MB">
12 <!ENTITY libvirt-time "1.6 SBU">
13]>
14
15<!-- Try to keep the indentation used in this file-->
16<sect1 id="libvirt" xreflabel="libvirt-&libvirt-version;">
17 <?dbhtml filename="libvirt.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libvirt-&libvirt-version;</title>
25
26 <indexterm zone="libvirt">
27 <primary sortas="a-libvirt">libvirt</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libvirt</title>
32
33 <para>
34 The <application>libvirt</application> is a C toolkit
35 used to interact with the virtualization capabilities
36 of recent versions of Linux (and other OSes).
37 </para>
38
39 &lfs70_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libvirt-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libvirt-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libvirt-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libvirt-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libvirt-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libvirt-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">libvirt Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="curl"/>,
80 <xref linkend="gnutls"/>,
81 <xref linkend="libgcrypt"/>,
82 <xref linkend="libtirpc"/>,
83 <xref linkend="libxml2"/>,
84 <xref linkend="lvm2"/> and
85 <xref linkend="pkgconfig"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="avahi"/>,
91 <xref linkend="cyrus-sasl"/>,
92 <ulink url="http://people.redhat.com/sgrubb/libcap-ng/">
93 libcap-ng</ulink>,
94 <ulink url="http://www.infradead.org/~tgr/libnl/">
95 libnl</ulink> (version 1),
96 <ulink url="http://oss.sgi.com/projects/libnuma/">
97 libnuma</ulink>,
98 <xref linkend="libpcap"/>,
99 <ulink url="http://www.libssh2.org/">libssh2</ulink>,
100 <ulink url="https://fedorahosted.org/netcf/">NetCF</ulink>,
101 <ulink url="http://www.open-iscsi.org/">Open iSCSI</ulink>,
102 <ulink url="http://www.openswan.org/projects/openswan/">
103 OpenSwan</ulink>,
104 <xref linkend="parted"/>,
105 <xref linkend="polkit"/>,
106 <xref linkend="qemu-kvm"/>,
107 <ulink url="https://www.virtualbox.org/">VirtualBox</ulink>,
108 <ulink url="http://www.xen.org/">Xen</ulink>,
109 <xref linkend="xorg7-lib"/> and
110 <ulink url="http://lloyd.github.com/yajl/">YAYL</ulink>
111 </para>
112
113 <para condition="html" role="usernotes">
114 User Notes: <ulink url="&blfs-wiki;/libvirt"/>
115 </para>
116 </sect2>
117
118 <sect2 role="installation">
119 <title>Installation of libvirt</title>
120
121 <para>
122 Install <application>libvirt</application> by running the following
123 commands:
124 </para>
125
126<screen><userinput>./configure --prefix=/usr \
127 --libexecdir=/usr/lib/libvirt \
128 --with-storage-lvm \
129 --without-macvtap \
130 --disable-static &amp;&amp;
131make</userinput></screen>
132
133 <para>
134 To test the results, issue: <command>make check</command>.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <para>
148 <option>--with-storage-lvm</option>: This option enables LVM storage backend.
149 </para>
150
151 <para>
152 <option>--without-macvtap</option>: This option disables macvtap device support.
153 Remove if you have libnl (version 1) installed.
154 </para>
155
156 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
157 href="../../xincludes/static-libraries.xml"/>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>
171 libvirtd, virsh, virt-host-validate,
172 virt-pki-validate and virt-xml-validate
173 </seg>
174 <seg>
175 libvirt.so and libvirt-qemu.so
176 </seg>
177 <seg>
178 /etc/libvirt, /usr/include/libvirt, /usr/lib/libvirt,
179 /usr/share/augeas/lenses,
180 /usr/share/doc/{libvirt-0.9.11,libvirt-python-0.9.11},
181 /usr/share/gtk-doc/html/libvirt,
182 /usr/share/libvirt, /var/cache/libvirt, /var/lib/libvirt and
183 /var/log/libvirt
184 </seg>
185 </seglistitem>
186 </segmentedlist>
187
188 <variablelist>
189 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
190 <?dbfo list-presentation="list"?>
191 <?dbhtml list-presentation="table"?>
192
193 <!-- If the program or library name conflicts (is the same) as the
194 package name, add -prog or -lib to the varlistentry entity id
195 and the 2nd entry of the indexterm zone entity -->
196
197 <varlistentry id="libvirtd">
198 <term><command>libvirtd</command></term>
199 <listitem>
200 <para>
201 is the server side daemon component of the libvirt
202 virtualization management system.
203 </para>
204 <indexterm zone="libvirt libvirtd">
205 <primary sortas="b-libvirtd">libvirtd</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="virsh">
211 <term><command>virsh</command></term>
212 <listitem>
213 <para>
214 is the main interface for managing virsh guest domains.
215 </para>
216 <indexterm zone="libvirt virsh">
217 <primary sortas="b-virsh">virsh</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="virt-host-validate">
223 <term><command>virt-host-validate</command></term>
224 <listitem>
225 <para>
226 This tool validates that the host is configured in
227 a suitable way to run libvirt hypervisor drivers.
228 </para>
229 <indexterm zone="libvirt virt-host-validate">
230 <primary sortas="b-virt-host-validate">virt-host-validate</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="virt-pki-validate">
236 <term><command>virt-pki-validate</command></term>
237 <listitem>
238 <para>
239 This tool validates that the necessary PKI files are
240 configured for a secure libvirt server or client
241 using the TLS encryption protocol.
242 </para>
243 <indexterm zone="libvirt virt-pki-validate">
244 <primary sortas="b-virt-pki-validate">virt-pki-validate</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="virt-xml-validate">
250 <term><command>virt-xml-validate</command></term>
251 <listitem>
252 <para>
253 is used to validate a libvirt XML for compliance with the
254 published schema.
255 </para>
256 <indexterm zone="libvirt virt-xml-validate">
257 <primary sortas="b-virt-xml-validate">virt-xml-validate</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
262 <varlistentry id="libvirt-lib">
263 <term><filename class="libraryfile">libvirt.so</filename></term>
264 <listitem>
265 <para>
266 contains libvirt API functions.
267 </para>
268 <indexterm zone="libvirt libvirt-lib">
269 <primary sortas="c-libvirt">libvirt.so</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 </variablelist>
275
276 </sect2>
277
278</sect1>
Note: See TracBrowser for help on using the repository browser.