Changeset 20828163 for introduction
- Timestamp:
- 02/04/2005 07:30:54 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 843cc38c
- Parents:
- fb31251
- Location:
- introduction
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/beyond.xml
rfb31251 r20828163 85 85 86 86 <listitem><para>Many of the newer packages follow the <command>./configure 87 && make && make install</command> <emphasis>dance</emphasis>88 routine.Help on the options accepted by configure can be obtained via the87 && make && make install</command> process. 88 Help on the options accepted by configure can be obtained via the 89 89 command <command>./configure --help</command>.</para></listitem> 90 90 -
introduction/important/patches.xml
rfb31251 r20828163 15 15 16 16 <para>As you follow the various sections in the book, you will observe that 17 the book includes various patches that are required for a successful and17 the book occasionally includes patches that are required for a successful and 18 18 secure installation of the packages. The general policy of the book is to 19 19 include patches that fall in one of the following criteria:</para> -
introduction/important/pkgmgt.xml
rfb31251 r20828163 17 17 to the <acronym>LFS</acronym> Book. A Package Manager allows tracking 18 18 the installation of files making it easy to remove and upgrade packages. 19 And before you begin to wonder, NO -this section does not talk about any19 And before you begin to wonder, NO—this section does not talk about any 20 20 particular package manager, nor does it recommend one. What it provides is 21 21 a roundup of the more popular techniques and how they work. The perfect … … 29 29 <itemizedlist> 30 30 <listitem><para>Dealing with package management takes the focus away from 31 the goals of these books - Teaching how a Linux System is built.</para></listitem>31 the goals of these books—teaching how a Linux system is built.</para></listitem> 32 32 <listitem><para>There are multiple solutions for package management, each having 33 33 its strengths and drawbacks. Including one that satifies all audiences is … … 43 43 <title>Upgrade Issues</title> 44 44 45 <para>A Package Manager makes it easy to upgrade to newer versions as andwhen they45 <para>A Package Manager makes it easy to upgrade to newer versions when they 46 46 are released. Generally the instructions in the <acronym>LFS</acronym> and 47 47 <acronym>BLFS</acronym> Book can be used to upgrade to the newer versions. 48 Followingare some points that you should be aware of when upgrading48 Here are some points that you should be aware of when upgrading 49 49 packages, especially on a running system.</para> 50 50 51 51 <itemizedlist> 52 <listitem><para>I t is recommended that if one of the toolchain package (glibc, gcc,52 <listitem><para>If one of the toolchain package (glibc, gcc, 53 53 binutils) needs to be upgraded to a newer minor vesion, it is safer to rebuild 54 54 <acronym>LFS</acronym>. Though you <emphasis>may</emphasis> be able to get by 55 rebuilding all the packages in their dependency order. We do not recommend the56 latter.For example, if glibc-2.2.x needs to be updated to glibc-2.3.x, it is safer55 rebuilding all the packages in their dependency order. We do not recommend it. 56 For example, if glibc-2.2.x needs to be updated to glibc-2.3.x, it is safer 57 57 to rebuild. For micro version updates, a simple reinstallation usually works, but 58 58 is not guaranteed. For example, upgrading from glibc-2.3.1 to glibc-2.3.2 will not 59 59 usually cause any problems.</para></listitem> 60 60 <listitem><para>If a package containing a shared library is updated, and if the 61 soname of the library changes, then all the packages dynamically linked to the61 name of the library changes, then all the packages dynamically linked to the 62 62 library need to be recompiled to link against the newer library. (Note that there 63 is no corelation between the package version and the soname of the library.) For64 example, consider a package foo-1.2.3 that installs a shared library with soname63 is no corelation between the package version and the name of the library.) For 64 example, consider a package foo-1.2.3 that installs a shared library with name 65 65 <filename>libfoo.so.1</filename>. Say you upgrade the package to a newer version 66 foo-1.2.4 that installs a shared library with soname <filename>libfoo.so.2</filename>.66 foo-1.2.4 that installs a shared library with name <filename>libfoo.so.2</filename>. 67 67 In this case, all packages that are dynamically linked to <filename>libfoo.so.1</filename> 68 68 need to be recompiled to link against <filename>libfoo.so.2</filename>. Note that … … 91 91 need for a package manager because they know the packages intimately and know 92 92 what files are installed by each package. Some users also do not need any 93 package management because they plan on rebuilding the entire <acronym>LFS</acronym>93 package management because they plan on rebuilding the entire system 94 94 when a package is changed.</para> 95 95 … … 130 130 instructions may not install the package properly:</para> 131 131 132 <screen><userinput><command>./configure --prefix=/usr/pkg/libfoo/1.1 &&133 make &&132 <screen><userinput><command>./configure --prefix=/usr/pkg/libfoo/1.1 133 make 134 134 make install</command></userinput></screen> 135 135 … … 141 141 This approach works as follows:</para> 142 142 143 <screen><userinput><command>./configure --prefix=/usr &&144 make &&143 <screen><userinput><command>./configure --prefix=/usr 144 make 145 145 make DESTDIR=/usr/pkg/libfoo/1.1 install</command></userinput></screen> 146 146 … … 177 177 calls that modify the filesystem. For this approach to work, all the executables 178 178 need to be dymanically linked without the suid or sgid bit. Preloading the 179 library may cause some unwanted side-effects during installation ; hence179 library may cause some unwanted side-effects during installation. Therefore, 180 180 do perform some tests to ensure that the package manager does not break 181 181 anything and logs all the appropriate files.</para> … … 193 193 194 194 <para>This approach is used by most of the package managers found in the 195 commercial distributions. Examples of package Managers that follow this196 approach are RPM, pkg-utils, Debian's apt, Gentoo's Portage system.</para>195 commercial distributions. Examples of package managers that follow this 196 approach are RPM, pkg-utils, Debian's apt, and Gentoo's Portage system.</para> 197 197 198 198 </sect3> -
introduction/important/position.xml
rfb31251 r20828163 22 22 <para>In traditional Unix systems, <filename>/usr</filename> usually 23 23 contains files that come with the system distribution, and the <filename> 24 /usr/local</filename> tree is free for the local administrator to add things25 to.The only really hard and fast rule is that Unix distributions should not26 touch <filename>/usr/local</filename>, except perhaps for creatingthe basic24 /usr/local</filename> tree is free for the local administrator to manage. 25 The only really hard and fast rule is that Unix distributions should not 26 touch <filename>/usr/local</filename>, except perhaps to create the basic 27 27 directories within it.</para> 28 28 -
introduction/important/unpacking.xml
rfb31251 r20828163 12 12 </sect1info> 13 13 <?dbhtml filename="unpacking.html"?> 14 <title>Notes on downloading, unpacking and compiling software</title>14 <title>Notes on building software</title> 15 15 16 <para>Those people who have built a <acronym>LFS</acronym> system will be aware16 <para>Those people who have built an <acronym>LFS</acronym> system will be aware 17 17 of the general principles of downloading and unpacking software. We will 18 18 however repeat some of that information here for those new to building … … 24 24 installation instructions.</para> 25 25 26 <para>While you can keep the source <acronym>TAR</acronym> balls anywhere you like, we26 <para>While you can keep the source files anywhere you like, we 27 27 assume that you have unpacked them and unzipped any required patches 28 28 into <filename>/usr/src</filename>.</para> … … 39 39 40 40 <para>If a file is tar'ed and gzip'ed, it is unpacked by running one of 41 the following twocommands, depending on the filename:</para>41 the following commands, depending on the filename:</para> 42 42 43 43 <screen><command>tar -xvzf filename.tar.gz … … 54 54 <screen><command>bzcat filename.tar.bz2 | tar -xv</command></screen> 55 55 56 <para>Finally, you need to be able to unpack patches which are generally57 not tar'ed. The best way to do this is to copy the patch file to58 <filename>/usr/src</filename> and then to run one of the following 59 commandsdepending on whether the file is .gz or .bz2:</para>56 <para>Finally, you sometimes need to be able to unpack patches which are 57 generally not tar'ed. The best way to do this is to copy the patch file to 58 <filename>/usr/src</filename> and then to run one of the following commands 59 depending on whether the file is .gz or .bz2:</para> 60 60 61 61 <screen><command>gunzip patchname.gz -
introduction/welcome/askhelp.xml
rfb31251 r20828163 75 75 76 76 <para>Expect guidance instead of specific instructions. If you are 77 instructed to read something, please do so , it generally implies that77 instructed to read something, please do so. It generally implies that 78 78 the answer was way too obvious and that the question would not have been asked 79 79 if a little research was done prior to asking. The volunteers in the mailing -
introduction/welcome/conventions.xml
rfb31251 r20828163 21 21 <blockquote><para>This form of text is designed to be typed exactly 22 22 as seen unless otherwise noted in the surrounding text. It is also used 23 in the explanation sections to identify which of the commands is being24 referred to.</para></blockquote>23 in the explanation sections to identify references to specific commands.</para> 24 </blockquote> 25 25 26 26 <para><filename>install-info: unknown option … … 29 29 <blockquote><para>This form of text (fixed width text) is showing screen 30 30 output, probably as the result of commands issued and is also used to 31 show filenames such as <filename>/ etc/lilo.conf</filename></para></blockquote>31 show filenames such as <filename>/boot/grub/grub.conf</filename></para></blockquote> 32 32 33 33 <para><emphasis>Emphasis</emphasis></para> … … 57 57 <para><replaceable>[REPLACED TEXT]</replaceable></para> 58 58 59 <blockquote><para>This form of text is used to encapsulate text that is60 not to be typed as seen or copy and pasted.</para></blockquote>59 <blockquote><para>This form of text is used to encapsulate text that should be 60 modified and is not to be typed as seen or copy and pasted.</para></blockquote> 61 61 62 62 </sect1> -
introduction/welcome/which.xml
rfb31251 r20828163 14 14 <title>Which sections of the book do I want?</title> 15 15 16 <para>Unlike the Linux From Scratch book, <acronym>BLFS</acronym> isn't 16 <para>Unlike the Linux From Scratch book, <acronym>BLFS</acronym> isn't 17 17 designed to be followed in a linear manner. This is because <acronym>LFS 18 </acronym> provides instructions on how to create a base system which is 19 capable of turning into anything from a web server to a multimedia desktop 20 system. <acronym>BLFS</acronym> is where we try to guide you through going21 from the base system to your intended destination and so choice is very much 22 involved.</para>18 </acronym> provides instructions on how to create a base system which is 19 capable of turning into anything from a web server to a multimedia desktop 20 system. <acronym>BLFS</acronym> is where we try to guide you in the process of 21 going from the base system to your intended destination. Choice is very 22 much involved.</para> 23 23 24 24 <para>Everyone who reads the book will want to read certain sections. The 25 <xref linkend="introduction"/> part -which you are currently26 reading -contains generic information. Especially take note of the25 <xref linkend="introduction"/> part–which you are currently 26 reading–contains generic information. Especially take note of the 27 27 information in Important Information (<xref linkend="intro-important"/>), as 28 28 this contains comments about how to unpack software and various other aspects
Note:
See TracChangeset
for help on using the changeset viewer.