summaryrefslogtreecommitdiffstats
path: root/website/src/learning/start-virt-tools/index.html
blob: b6b2e918e511035aa0ff0bfd73e2052641737359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[% topdir = "../.." -%]
[% PROCESS globals -%]
[% WRAPPER page
   title = "Installing virt tools"
   h1 = "Download and install virt tools"
   section = "learning"
%]

<p>
Select your operating system or Linux distro from the list below:
</p>

<ul>
<li> <a href="#fedora">Fedora, Red Hat Enterprise Linux and clones</a> </li>
<li> <a href="#debian">Debian</a> </li>
<li> <a href="#ubuntu">Ubuntu</a> </li>
</ul>

[% WRAPPER h2 h2="Fedora, Red Hat Enterprise Linux" anchor="fedora" %]

<h3>Graphical method</h3>

<p>
Go to System &rarr; Administration &rarr; Add/Remove Software.
</p>

<p>
From the list on the left, select Virtualization.
</p>

<p>
Select the required virt tools and click Apply.
</p>

<h3>From the command line</h3>

<p>
Open a terminal window (Applications &rarr; System Tools &rarr; Terminal)
and type the following:
</p>

<pre>
su
</pre>

<p>
(now type your root password)
</p>

<pre>
yum install qemu libvirt-client virt-manager \
  virt-viewer guestfish libguestfs-tools virt-top
</pre>

[% END %]

[% WRAPPER h2 h2="Debian" anchor="debian" %]

<p>
Open a terminal window (Applications &rarr; Accessories &rarr; Terminal)
and type:
</p>

<pre>
su
apt-get install kvm libvirt-bin virt-manager virt-viewer virt-top
</pre>

<p>
For information on installing guestfish and libguestfs-tools in
Debian, see <a href="http://libguestfs.org/FAQ.html#binaries">this page</a>.
</p>

[% END %]

[% WRAPPER h2 h2="Ubuntu" anchor="ubuntu" %]

<p>
Open a terminal window (Applications &rarr; Accessories &rarr; Terminal)
and type:
</p>

<pre>
sudo apt-get install ubuntu-virt virt-top virt-what
</pre>

<p>
For information on installing guestfish and libguestfs-tools in
Ubuntu, see <a href="http://libguestfs.org/FAQ.html#binaries">this page</a>.
</p>

[% END %]

[% END -%]