Changeset acfc391 for introduction/important/unpacking.xml
- Timestamp:
- 09/12/2003 03:09:56 AM (21 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/unpacking.xml
r1aacd4b5 racfc391 3 3 <title>Getting and unpacking the software</title> 4 4 5 <para>Those people who have built a LFS system will be aware of the6 general principles of downloading and unpacking software. We will5 <para>Those people who have built a <acronym>LFS</acronym> system will be aware 6 of the general principles of downloading and unpacking software. We will 7 7 however repeat some of that information here for those new to building 8 8 their own software.</para> 9 9 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> 11 from which you can download the package. We do however keep a selection of 12 patches available via http. These are referenced as needed in the 15 13 installation instructions.</para> 16 14 … … 32 30 the following two commands, depending on the filename:</para> 33 31 34 <screen>< userinput>tar -xvzf filename.tar.gz32 <screen><command>tar -xvzf filename.tar.gz 35 33 tar -xvzf filename.tgz 36 tar -xvzf filename.tar.Z</ userinput></screen>34 tar -xvzf filename.tar.Z</command></screen> 37 35 38 36 <para>If a file is tar'ed and bzip2'ed, it can usually be unpacked by 39 37 running:</para> 40 38 41 <screen>< userinput>tar -jxvf filename.tar.bz2</userinput></screen>39 <screen><command>tar -jxvf filename.tar.bz2</command></screen> 42 40 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> 46 42 47 <screen>< userinput>bzcat filename.tar.bz2 | tar -xv</userinput></screen>43 <screen><command>bzcat filename.tar.bz2 | tar -xv</command></screen> 48 44 49 45 <para>Finally, you need to be able to unpack patches which are generally … … 52 48 commands depending on whether the file is .gz or .bz2:</para> 53 49 54 <screen>< userinput>gunzip patchname.gz55 bunzip2 patchname.bz2</ userinput></screen>50 <screen><command>gunzip patchname.gz 51 bunzip2 patchname.bz2</command></screen> 56 52 57 53 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.