Changeset b5ea3492 for introduction/important
- Timestamp:
- 03/21/2004 07:27:22 PM (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:
- cc265e51
- Parents:
- f53f1b3c
- Location:
- introduction/important
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/beyond.xml
rf53f1b3c rb5ea3492 9 9 </para> 10 10 11 <para>If you are installing a package in a non-standard prefix, <xref 12 linkend="appendices-generic"/> checklist will be helpful if the 13 package does not work as expected.</para> 11 <para>When you want to install a package to a location other than 12 <filename class='directory'>/</filename>, or <filename class='directory'>/usr</filename>, you are installing 13 outside the default environment settings on most machines. The following 14 examples should assist you in determining how to correct this situation. 15 The examples cover the complete range of settings that may need 16 updating, but they are not all needed in every situation.</para> 17 18 <itemizedlist> 19 <listitem><para>Expand the <envar>PATH</envar> to include 20 <filename class='directory'>$PREFIX/bin</filename>.</para></listitem> 21 <listitem><para>Expand the <envar>PATH</envar> for root to include 22 <filename class='directory'>$PREFIX/sbin</filename>.</para></listitem> 23 <listitem><para>Add <filename class='directory'>$PREFIX/lib</filename> 24 to <filename>/etc/ld.so.conf</filename> or expand 25 <envar>LD_LIBRARY_PATH</envar> to include it. Before using the latter option, 26 check out <ulink url="http://www.visi.com/~barr/ldpath.html"/>. If you 27 modify <filename>/etc/ld.so.conf</filename> remember to update 28 <filename>/etc/ld.so.cache</filename> by executing <command>ldconfig</command>.</para></listitem> 29 <listitem><para>Add <filename class='directory'>$PREFIX/man</filename> 30 to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem> 31 <listitem><para>Add <filename class='directory'>$PREFIX/info</filename> 32 to <envar>INFOPATH</envar>.</para></listitem> 33 <listitem><para>Add <filename 34 class='directory'>$PREFIX/lib/pkgconfig</filename> to 35 <envar>PKG_CONFIG_PATH</envar>.</para></listitem> 36 <listitem><para>Add <filename 37 class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages 38 that depend on the package you installed.</para></listitem> 39 </itemizedlist> 14 40 15 41 <para>If you are in search of a package that is not in the book, the following -
introduction/important/bootscripts.xml
rf53f1b3c rb5ea3492 1 <sect1 id="intro-important-bootscripts" >1 <sect1 id="intro-important-bootscripts" xreflabel="lfs-bootscripts"> 2 2 <?dbhtml filename="bootscripts.html" dir="introduction"?> 3 <title> Using <acronym>BLFS</acronym> Boot Scripts</title>3 <title><acronym>LFS</acronym> Boot Scripts</title> 4 4 5 <para>The scripts included for packages such as <xref linkend="gpm"/> 6 and <xref linkend="alsa"/> are based around the template supplied with 7 the lfs-bootscripts package from version 3.2 and later of the <acronym> 8 LFS</acronym> book. Note that this is lfs-bootscripts-1.6 and later (the old 9 numbering changed as of <acronym>LFS</acronym>-3.2). The scripts won't work 10 with versions of <acronym>LFS</acronym> before 3.2 because of a change in their 11 organization with the new scripts. However, it should be trivial to adapt the 12 scripts if needed for older <acronym>LFS</acronym> versions.</para> 5 <para>The lfs-bootscripts package that was used in <acronym>LFS</acronym> also 6 contains bootscripts for <acronym>BLFS</acronym>. 7 The lfs-bootscripts package will be used throughout the rest of 8 the book for startup scripts. It is recomended you keep the package 9 source directory around until completion of your 10 <acronym>BLFS</acronym> system. When a script is requested from 11 lfs-bootscritps, simply change to the directory and execute the given 12 'make install-<init-script>' command.</para> 13 14 <para>If you are installing <acronym>BLFS</acronym> 15 from an older version of LFS, see the INSTALL included in the package for 16 upgrade instructions.</para> 17 18 <para>Refer to <ulink url="&lfs-root;/chapter07/bootscripts.html"/> for more 19 information on the lfs-bootscripts package.</para> 13 20 14 21 </sect1> -
introduction/important/pkgmgt.xml
rf53f1b3c rb5ea3492 97 97 98 98 <para>The environment variables such as those 99 mentioned in <xref linkend=" appendices-generic"/> need to be expanded to99 mentioned in <xref linkend="intro-important-beyond"/> need to be expanded to 100 100 include <filename>/usr/pkg/foo</filename>. For more than a few packages, 101 101 this scheme becomes unmanagable.</para>
Note:
See TracChangeset
for help on using the changeset viewer.