Ignore:
Timestamp:
09/12/2003 03:09:56 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7891efc
Parents:
1aacd4b5
Message:

Part I review with modification to better match LFS

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/unpacking.xml

    r1aacd4b5 racfc391  
    33<title>Getting and unpacking the software</title>
    44
    5 <para>Those people who have built a LFS system will be aware of the
    6 general principles of downloading and unpacking software.  We will
     5<para>Those people who have built a <acronym>LFS</acronym> system will be aware
     6of the general principles of downloading and unpacking software.  We will
    77however repeat some of that information here for those new to building
    88their own software.</para>
    99
    10 <para>One difference from the LFS book is that we do <emphasis>not</emphasis>
    11 mirror the packages on the BLFS website.
    12 Instead, each set of installation instructions contains a URL from which
    13 you can download the package.  We do however keep a selection of patches
    14 available via http/ftp.  These are referenced as needed in the
     10<para>Each set of installation instructions contains a <acronym>URL</acronym>
     11from which you can download the package.  We do however keep a selection of
     12patches available via http.  These are referenced as needed in the
    1513installation instructions.</para>
    1614
     
    3230the following two commands, depending on the filename:</para>
    3331
    34 <screen><userinput>tar -xvzf filename.tar.gz
     32<screen><command>tar -xvzf filename.tar.gz
    3533tar -xvzf filename.tgz
    36 tar -xvzf filename.tar.Z</userinput></screen>
     34tar -xvzf filename.tar.Z</command></screen>
    3735
    3836<para>If a file is tar'ed and bzip2'ed, it can usually be unpacked by
    3937running:</para>
    4038
    41 <screen><userinput>tar -jxvf filename.tar.bz2</userinput></screen>
     39<screen><command>tar -jxvf filename.tar.bz2</command></screen>
    4240
    43 <para>This applies as long as you patched tar to include the j option
    44 during your LFS install.  If you didn't, you can use a slightly
    45 different method:</para>
     41<para>You can also use a slightly different method:</para>
    4642
    47 <screen><userinput>bzcat filename.tar.bz2 | tar -xv</userinput></screen>
     43<screen><command>bzcat filename.tar.bz2 | tar -xv</command></screen>
    4844
    4945<para>Finally, you need to be able to unpack patches which are generally
     
    5248commands depending on whether the file is .gz or .bz2:</para>
    5349
    54 <screen><userinput>gunzip patchname.gz
    55 bunzip2 patchname.bz2</userinput></screen>
     50<screen><command>gunzip patchname.gz
     51bunzip2 patchname.bz2</command></screen>
    5652
    5753</sect2>
Note: See TracChangeset for help on using the changeset viewer.