Changeset a161ad9


Ignore:
Timestamp:
11/08/2023 11:30:19 PM (6 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
f32a712
Parents:
1fe1b6e (diff), d11686c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/pkgmgt.xml

    r1fe1b6e ra161ad9  
    197197      special program to manage the packages. Each package is installed in a
    198198      separate directory. For example, package foo-1.1 is installed in
    199       <filename class='directory'>/usr/pkg/foo-1.1</filename>
    200       and a symlink is made from <filename>/usr/pkg/foo</filename> to
    201       <filename class='directory'>/usr/pkg/foo-1.1</filename>. When
     199      <filename class='directory'>/opt/foo-1.1</filename>
     200      and a symlink is made from <filename>/opt/foo</filename> to
     201      <filename class='directory'>/opt/foo-1.1</filename>. When
    202202      a new version foo-1.2 comes along, it is installed in
    203       <filename class='directory'>/usr/pkg/foo-1.2</filename> and the previous
     203      <filename class='directory'>/opt/foo-1.2</filename> and the previous
    204204      symlink is replaced by a symlink to the new version.</para>
    205205
    206206      <para>Environment variables such as <envar>PATH</envar>,
    207       <envar>LD_LIBRARY_PATH</envar>, <envar>MANPATH</envar>,
    208       <envar>INFOPATH</envar> and <envar>CPPFLAGS</envar> need to be expanded to
    209       include <filename>/usr/pkg/foo</filename>. If you install more than a few packages,
    210       this scheme becomes unmanageable.</para>
    211 
     207      <envar>MANPATH</envar>, <envar>INFOPATH</envar>,
     208      <envar>PKG_CONFIG_PATH</envar>, <envar>CPPFLAGS</envar>,
     209      <envar>LDFLAGS</envar>, and the configuration file
     210      <filename>/etc/ld.so.conf</filename> may need to be expanded to
     211      include the corresponding subdirectories in
     212      <filename class='directory'>/opt/foo-x.y</filename>.</para>
     213
     214      <para>
     215        This scheme is used by the BLFS book to install some very large
     216        packages to make it easier to upgrade them.  If you install more
     217        than a few packages, this scheme becomes unmanageable.  And some
     218        packages (for example Linux API headers and Glibc) may not work well
     219        with this scheme.
     220        <emphasis role='bold'>Never use this scheme system-wide.</emphasis>
     221      </para>
    212222    </sect3>
    213223
Note: See TracChangeset for help on using the changeset viewer.