Changeset 0c603671 for introduction/important/unpacking.xml
- Timestamp:
- 02/20/2004 05:16:24 AM (20 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_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6387eb8
- Parents:
- 7e4be43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/unpacking.xml
r7e4be43 r0c603671 1 1 <sect1 id="intro-important-unpacking"> 2 2 <?dbhtml filename="unpacking.html" dir="introduction"?> 3 <title> Getting and unpacking thesoftware</title>3 <title>Notes on downloading, unpacking and compiling software</title> 4 4 5 5 <para>Those people who have built a <acronym>LFS</acronym> system will be aware … … 53 53 </sect2> 54 54 55 <sect2> 56 <title>Verifying file integrity using md5sum</title> 57 58 <para>Generally, to verify that the downloaded file is genuine and complete, 59 most package maintainers also distribute md5sums of the files. 60 To verify the md5sum of the downloaded files, download both the file and the 61 corresponding md5sum file to the same directory (preferably from different 62 on-line locations), and (assuming file.md5sum is the md5sum file downloaded) 63 run the following command:</para> 64 65 <screen><command>md5sum -c file.md5sum</command></screen> 66 67 <para>If there are any errors, they will be reported.</para> 68 69 </sect2> 70 71 <sect2> 72 <title>Creating Log files during installation</title> 73 74 <para>For larger packages, it is convenient to create log files instead of 75 staring at the screen hoping to catch a particular error or warning. Log files 76 are also useful for debugging and keeping records. The following command 77 allows you to create a installation log. Replace <command> with the 78 command you intend to execute.</para> 79 80 <screen><command>( <command> 2>&1 | tee compile.log && exit $PIPESTATUS )</command></screen> 81 82 <para><parameter>2>&1</parameter> redirects error messages 83 to the same location as normal output. The <command>tee</command> command 84 allows viewing of the output while logging the results to a file. The parentheses 85 around the command run the entire command in a subshell and finally the 86 <command>exit $PIPESTATUS</command> ensures the result of the <command> 87 is returned as the result and not the result of the <command>tee</command> command.</para> 88 89 </sect2> 90 55 91 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.