aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02
diff options
context:
space:
mode:
Diffstat (limited to 'chapter02')
-rw-r--r--chapter02/install.xml50
1 files changed, 31 insertions, 19 deletions
diff --git a/chapter02/install.xml b/chapter02/install.xml
index d091763f0..07f72784c 100644
--- a/chapter02/install.xml
+++ b/chapter02/install.xml
@@ -13,9 +13,11 @@ section.
To start with, change to the $LFS/usr/src directory by running:
</para>
-<blockquote><literallayout>
- <userinput>cd $LFS/usr/src</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>cd $LFS/usr/src</userinput>
+</screen>
+</para>
<para>
If a file is tar'ed and gzip'ed, it is unpacked by
@@ -23,10 +25,12 @@ running either one of the following two commands, depending on the
filename:
</para>
-<blockquote><literallayout>
- <userinput>tar xvzf filename.tar.gz</userinput>
- <userinput>tar xvzf filename.tgz</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>tar xvzf filename.tar.gz</userinput>
+<userinput>tar xvzf filename.tgz</userinput>
+</screen>
+</para>
<para>
@@ -34,9 +38,11 @@ If a file is tar'ed and bzip2'ed, it is unpacked by
running:
</para>
-<blockquote><literallayout>
- <userinput>bzcat filename.tar.bz2 | tar xv</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>bzcat filename.tar.bz2 | tar xv</userinput>
+</screen>
+</para>
<para>
Some tar programs (most of them nowadays but not all of them) are
@@ -50,9 +56,11 @@ your host system decided to patch bzip2.
If a file is just tar'ed, it is unpacked by running:
</para>
-<blockquote><literallayout>
- <userinput>tar xvf filename.tar</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>tar xvf filename.tar</userinput>
+</screen>
+</para>
<para>
When an archive is unpacked, a new directory will be created under the
@@ -73,17 +81,21 @@ can be used they need to be uncompressed first.
If a file is gzip'ed, it is unpacked by running:
</para>
-<blockquote><literallayout>
- <userinput>gunzip filename.gz</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>gunzip filename.gz</userinput>
+</screen>
+</para>
<para>
If a file is bzip2'ed, it is unpacked by running:
</para>
-<blockquote><literallayout>
- <userinput>bunzip2 filename.bz2</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>bunzip2 filename.bz2</userinput>
+</screen>
+</para>
<para>
After a package has been installed, two things can be done with it: