/usr/share/doc/live-manual/html/installation.pt_BR.html is in live-manual-html 1:3.0~a9-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
installation -
Debian Live Manual
</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="dc.title" content="Debian Live Manual" />
<meta name="dc.author" content="Debian Live Project <debian-live@lists.debian.org>" />
<meta name="dc.publisher" content="Debian Live Project <debian-live@lists.debian.org>" />
<meta name="dc.date" content="2011-12-04" />
<meta name="dc.rights" content="Copyright (C) 2006-2011 Debian Live Project;<br> License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br><br>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<br><br>You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. <br><br>The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file." />
<meta name="generator" content="SiSU 3.1.9 of 2011w51/1 (2011-12-19) (n*x and Ruby!)" />
<link rel="generator" href="http://www.sisudoc.org/" />
<link rel="shortcut icon" href="../_sisu/image/rb7.ico" />
<link rel="stylesheet" href="../_sisu/css/html.css" type="text/css" />
</head>
<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">
<a name="top" id="top"></a>
<a name="up" id="up"></a>
<a name="start" id="start"></a><table summary="segment navigation band with banner" bgcolor="#ffffff" width="100%"><tr>
<td width="20%" align="left">
<table summary="band" border="0" cellpadding="3" cellspacing="0"><tr><td align="left" bgcolor="#ffffff"><a href="http://live.debian.net/" target="_top"><img border="0" src="../_sisu/image/debian_home.png" alt="Debian -->" /></a></td></tr>
</table>
</td>
<td width="75%" align="center">
<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center" bgcolor="#ffffff">
<td align="center" bgcolor="#ffffff">
<a href="sisu_manifest.pt_BR.html" target="_top" >
<font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2">
[ document manifest ]
</font>
</a>
</td>
</tr></table>
</td>
<td width="5%" align="right">
<table summary="segment navigation pre/next" border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center" bgcolor="#ffffff">
<a href="about-project.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_prev_red.png" alt="<< previous" />
</a>
</td>
<td align="center" bgcolor="#ffffff">
<a href="toc.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_up_red.png" alt="TOC" />
</a>
</td>
<td align="center" bgcolor="#ffffff">
<a href="the-basics.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_next_red.png" alt="next >>" />
</a>
</td>
<td>
</td></tr>
</table>
</td></tr>
</table>
<table summary="segment hidden control pre and next" width="100%" border="0" cellpadding="0" bgcolor=#eeeeee align="center">
<tr><td align="left">
<a href="about-project.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt="<" />
</a>
</td>
<td align="center">
<a href="toc.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt="^" />
</a>
</td>
<td align="right">
<a href="the-basics.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt=">" />
</a>
</td></tr>
</table><div class="content">
<h1 class="tiny">
Debian Live Manual
</h1>
</div><div class="content">
<h2 class="tiny">
User
</h2>
</div><div class="content"><div class="substance">
<label class="ocn"><a name="105" href="#105" class="lnkocn">105</a></label>
<h1 class="norm" id="o105"><a name="105"></a>
3. Installation
</h1>
</div><div class="substance">
<label class="ocn"><a name="106" href="#106" class="lnkocn">106</a></label>
<p class="bold" id="o106"><a name="106"></a> <a name="hrequirements" id="hrequirements"></a>
<a name="h3.1" ></a><a name="requirements" ></a>3.1 Requirements
</p>
</div><div class="substance">
<label class="ocn"><a name="107" href="#107" class="lnkocn">107</a></label>
<p class="i0" id="o107">
Building Debian Live images has very few system requirements:
</p>
</div><div class="substance">
<label class="ocn"><a name="108" href="#108" class="lnkocn">108</a></label>
<li class="bullet" id="o108">
Super user (root) access
</li>
</div><div class="substance">
<label class="ocn"><a name="109" href="#109" class="lnkocn">109</a></label>
<li class="bullet" id="o109">
An up-to-date version of <i>live-build</i>
</li>
</div><div class="substance">
<label class="ocn"><a name="110" href="#110" class="lnkocn">110</a></label>
<li class="bullet" id="o110">
A POSIX-compliant shell, such as <i>bash</i> or <i>dash</i>.
</li>
</div><div class="substance">
<label class="ocn"><a name="111" href="#111" class="lnkocn">111</a></label>
<li class="bullet" id="o111">
<i>debootstrap</i> or <i>cdebootstrap</i>
</li>
</div><div class="substance">
<label class="ocn"><a name="112" href="#112" class="lnkocn">112</a></label>
<li class="bullet" id="o112">
Linux 2.6.x
</li>
</div><div class="substance">
<label class="ocn"><a name="113" href="#113" class="lnkocn">113</a></label>
<p class="i0" id="o113">
Note that using Debian or a Debian-derived distribution is not required - <i>live-build</i> will run on almost any distribution with the above requirements.
</p>
</div><div class="substance">
<label class="ocn"><a name="114" href="#114" class="lnkocn">114</a></label>
<p class="bold" id="o114"><a name="114"></a> <a name="hinstalling-live-build" id="hinstalling-live-build"></a>
<a name="h3.2" ></a><a name="installing-live-build" ></a>3.2 Installing live-build
</p>
</div><div class="substance">
<label class="ocn"><a name="115" href="#115" class="lnkocn">115</a></label>
<p class="i0" id="o115">
You can install <i>live-build</i> in a number of different ways:
</p>
</div><div class="substance">
<label class="ocn"><a name="116" href="#116" class="lnkocn">116</a></label>
<li class="bullet" id="o116">
From the Debian repository
</li>
</div><div class="substance">
<label class="ocn"><a name="117" href="#117" class="lnkocn">117</a></label>
<li class="bullet" id="o117">
From source
</li>
</div><div class="substance">
<label class="ocn"><a name="118" href="#118" class="lnkocn">118</a></label>
<li class="bullet" id="o118">
From snapshots
</li>
</div><div class="substance">
<label class="ocn"><a name="119" href="#119" class="lnkocn">119</a></label>
<p class="i0" id="o119">
If you are using Debian, the recommended way is to install <i>live-build</i> via the Debian repository.
</p>
</div><div class="substance">
<label class="ocn"><a name="120" href="#120" class="lnkocn">120</a></label>
<p class="bold" id="o120"><a name="120"></a> <a name="h3.2.1" id="h3.2.1"></a>
<a name="3.2.1" ></a><a name="h3.2.1" ></a>3.2.1 From the Debian repository
</p>
</div><div class="substance">
<label class="ocn"><a name="121" href="#121" class="lnkocn">121</a></label>
<p class="i0" id="o121">
Simply install <i>live-build</i> like any other package:
</p>
</div><div class="substance">
<label class="ocn"><a name="122" href="#122" class="lnkocn">122</a></label>
<p class="code" id="o122">
# apt-get install live-build<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="123" href="#123" class="lnkocn">123</a></label>
<p class="i0" id="o123">
or
</p>
</div><div class="substance">
<label class="ocn"><a name="124" href="#124" class="lnkocn">124</a></label>
<p class="code" id="o124">
# aptitude install live-build<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="125" href="#125" class="lnkocn">125</a></label>
<p class="bold" id="o125"><a name="125"></a> <a name="h3.2.2" id="h3.2.2"></a>
<a name="3.2.2" ></a><a name="h3.2.2" ></a>3.2.2 From source
</p>
</div><div class="substance">
<label class="ocn"><a name="126" href="#126" class="lnkocn">126</a></label>
<p class="i0" id="o126">
<i>live-build</i> is developed using the Git version control system. On Debian based systems, this is provided by the <i>git</i> package. To check out the latest code, execute:
</p>
</div><div class="substance">
<label class="ocn"><a name="127" href="#127" class="lnkocn">127</a></label>
<p class="code" id="o127">
$ git clone git://live.debian.net/git/live-build.git<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="128" href="#128" class="lnkocn">128</a></label>
<p class="i0" id="o128">
You can build and install your own Debian package by executing:
</p>
</div><div class="substance">
<label class="ocn"><a name="129" href="#129" class="lnkocn">129</a></label>
<p class="code" id="o129">
$ cd live-build<br />
$ dpkg-buildpackage -rfakeroot -b -uc -us<br />
$ cd ..<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="130" href="#130" class="lnkocn">130</a></label>
<p class="i0" id="o130">
Now install whichever of the freshly built <tt>.deb</tt> files you were interested in, e.g.
</p>
</div><div class="substance">
<label class="ocn"><a name="131" href="#131" class="lnkocn">131</a></label>
<p class="code" id="o131">
# dpkg -i live-build_2.0.8-1_all.deb<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="132" href="#132" class="lnkocn">132</a></label>
<p class="i0" id="o132">
You can also install <i>live-build</i> directly to your system by executing:
</p>
</div><div class="substance">
<label class="ocn"><a name="133" href="#133" class="lnkocn">133</a></label>
<p class="code" id="o133">
# make install<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="134" href="#134" class="lnkocn">134</a></label>
<p class="i0" id="o134">
and uninstall it with:
</p>
</div><div class="substance">
<label class="ocn"><a name="135" href="#135" class="lnkocn">135</a></label>
<p class="code" id="o135">
# make uninstall<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="136" href="#136" class="lnkocn">136</a></label>
<p class="bold" id="o136"><a name="136"></a> <a name="h3.2.3" id="h3.2.3"></a>
<a name="3.2.3" ></a><a name="h3.2.3" ></a>3.2.3 From 'snapshots'
</p>
</div><div class="substance">
<label class="ocn"><a name="137" href="#137" class="lnkocn">137</a></label>
<p class="i0" id="o137">
If you do not wish to build or install <i>live-build</i> from source, you can use snapshots. These are built automatically from the latest version in Git and are available on ‹<a href="http://live.debian.net/debian/" target="_top">http://live.debian.net/debian/</a>›.
</p>
</div><div class="substance">
<label class="ocn"><a name="138" href="#138" class="lnkocn">138</a></label>
<p class="bold" id="o138"><a name="138"></a> <a name="h3.3" id="h3.3"></a>
<a name="3.3" ></a><a name="h3.3" ></a>3.3 live-boot and live-config
</p>
</div><div class="substance">
<label class="ocn"><a name="139" href="#139" class="lnkocn">139</a></label>
<p class="i0" id="o139">
<b>Note:</b> You do not need to install <i>live-boot</i> or <i>live-config</i> on your system to create customized Debian Live systems. However, doing so will do no harm and is useful for reference purposes. If you only want the documentation, you may now install the <i>live-boot</i>-doc and <i>live-config</i>-doc packages separately.
</p>
</div><div class="substance">
<label class="ocn"><a name="140" href="#140" class="lnkocn">140</a></label>
<p class="bold" id="o140"><a name="140"></a> <a name="h3.3.1" id="h3.3.1"></a>
<a name="3.3.1" ></a><a name="h3.3.1" ></a>3.3.1 From the Debian repository
</p>
</div><div class="substance">
<label class="ocn"><a name="141" href="#141" class="lnkocn">141</a></label>
<p class="i0" id="o141">
Both <i>live-boot</i> and <i>live-config</i> are available from the Debian repository as per <a href="installation.html#installing-live-build">Installing live-build</a>.
</p>
</div><div class="substance">
<label class="ocn"><a name="142" href="#142" class="lnkocn">142</a></label>
<p class="bold" id="o142"><a name="142"></a> <a name="h3.3.2" id="h3.3.2"></a>
<a name="3.3.2" ></a><a name="h3.3.2" ></a>3.3.2 From source
</p>
</div><div class="substance">
<label class="ocn"><a name="143" href="#143" class="lnkocn">143</a></label>
<p class="i0" id="o143">
To use the latest source from git, you can follow the process below. Please ensure you are familiar with the terms mentioned in <a href="about-manual.html#terms">Terms</a>.
</p>
</div><div class="substance">
<label class="ocn"><a name="144" href="#144" class="lnkocn">144</a></label>
<li class="bullet" id="o144">
Checkout the <i>live-boot</i> and <i>live-config</i> source
</li>
</div><div class="substance">
<label class="ocn"><a name="145" href="#145" class="lnkocn">145</a></label>
<p class="code" id="o145">
$ git clone git://live.debian.net/git/live-boot.git<br />
$ git clone git://live.debian.net/git/live-config.git<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="146" href="#146" class="lnkocn">146</a></label>
<p class="i0" id="o146">
Consult the <i>live-boot</i> and <i>live-config</i> man pages for details on customizing if that is your reason for building these packages from source.
</p>
</div><div class="substance">
<label class="ocn"><a name="147" href="#147" class="lnkocn">147</a></label>
<li class="bullet" id="o147">
Build <i>live-boot</i> and <i>live-config</i> .deb files
</li>
</div><div class="substance">
<label class="ocn"><a name="148" href="#148" class="lnkocn">148</a></label>
<p class="i0" id="o148">
You must build either on your target distribution or in a chroot containing your target platform: this means if your target is <b>Wheezy</b> then you should build against <b>Wheezy</b>.
</p>
</div><div class="substance">
<label class="ocn"><a name="149" href="#149" class="lnkocn">149</a></label>
<p class="i0" id="o149">
Use a personal builder such as <i>pbuilder</i> or <i>sbuild</i> if you need to build <tt>live-boot</tt> for a target distribution that differs from your build system. For example, for <b>Wheezy</b> live images, build <tt>live-boot</tt> in a <b>Wheezy</b> chroot. If your target distribution happens to match your build system distribution, you may build directly on the build system using <tt>dpkg-buildpackage</tt> (provided by the <i>dpkg-dev</i> package):
</p>
</div><div class="substance">
<label class="ocn"><a name="150" href="#150" class="lnkocn">150</a></label>
<p class="code" id="o150">
$ cd live-boot<br />
$ dpkg-buildpackage -b -uc -us<br />
$ cd ../live-config<br />
$ dpkg-buildpackage -b -uc -us<br /><br />
</p>
</div><div class="substance">
<label class="ocn"><a name="151" href="#151" class="lnkocn">151</a></label>
<li class="bullet" id="o151">
Use all generated .deb files
</li>
</div><div class="substance">
<label class="ocn"><a name="152" href="#152" class="lnkocn">152</a></label>
<p class="i0" id="o152">
As <i>live-boot</i> and <i>live-config</i> are installed by <i>live-build</i> system, installing the packages in the host system is not sufficient: you should treat the generated .deb files like any other custom packages. Please see <a href="customizing-package-installation.html#customizing-package-installation">Customizing package installation</a> for more information. You should pay particular attention to <a href="customizing-package-installation.html#additional-repositories">Additional repositories</a>.
</p>
</div><div class="substance">
<label class="ocn"><a name="153" href="#153" class="lnkocn">153</a></label>
<p class="bold" id="o153"><a name="153"></a> <a name="h3.3.3" id="h3.3.3"></a>
<a name="3.3.3" ></a><a name="h3.3.3" ></a>3.3.3 From 'snapshots'
</p>
</div><div class="substance">
<label class="ocn"><a name="154" href="#154" class="lnkocn">154</a></label>
<p class="i0" id="o154">
You can let <i>live-build</i> automatically use the latest snapshots of <i>live-boot</i> and <i>live-config</i> by configuring a third-party repository in your <i>live-build</i> configuration directory. Assuming you have already created a configuration tree in the current directory with <tt>lb config</tt>:
</p>
</div><div class="substance">
<label class="ocn"><a name="155" href="#155" class="lnkocn">155</a></label>
<p class="code" id="o155">
$ lb config --archives live.debian.net<br /><br />
</p>
</div></div><br /><div class="main_column">
<table summary="segment navigation band" bgcolor="#ffffff" width="100%"><tr>
<td width="70%" align="center">
<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center" bgcolor="#ffffff">
<td align="center" bgcolor="#ffffff">
<a href="sisu_manifest.pt_BR.html" target="_top" >
<font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2">
[ document manifest ]
</font>
</a>
</td>
</tr></table>
</td>
<td width="5%" align="right">
<table summary="segment navigation pre/next" border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center" bgcolor="#ffffff">
<a href="about-project.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_prev_red.png" alt="<< previous" />
</a>
</td>
<td align="center" bgcolor="#ffffff">
<a href="toc.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_up_red.png" alt="TOC" />
</a>
</td>
<td align="center" bgcolor="#ffffff">
<a href="the-basics.pt_BR.html" target="_top" >
<img border="0" width="22" height="22" src="../_sisu/image_sys/arrow_next_red.png" alt="next >>" />
</a>
</td>
<td>
</td></tr>
</table>
</td></tr>
</table>
<table summary="segment hidden control pre and next" width="100%" border="0" cellpadding="0" bgcolor=#eeeeee align="center">
<tr><td align="left">
<a href="about-project.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt="<" />
</a>
</td>
<td align="center">
<a href="toc.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt="^" />
</a>
</td>
<td align="right">
<a href="the-basics.pt_BR.html" target="_top" >
<img border="0" width="100%" height="20" src="../_sisu/image_sys/dot_white.png" alt=">" />
</a>
</td></tr>
</table>
</div><div class="main_column">
<a name="bottom" id="bottom"></a>
<a name="down" id="down"></a>
<a name="end" id="end"></a>
<a name="finish" id="finish"></a>
<a name="stop" id="stop"></a>
<a name="credits" id="credits"></a>
</div></div></body>
</html>
|