glfs/appendices/generic/generic.xml
Larry Lawrence ec4b257bf2 new appendix
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@850 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-04-14 20:26:01 +00:00

29 lines
1.2 KiB
XML

<appendix id="appendices-generic">
<?dbhtml filename="generic.html" dir="appendices"?>
<title>Installing in non-default locations</title>
<para>When you want to install a package to a location other than
<filename>/</filename>, or <filename>/usr</filename>, you are installing
outside the default envionment settings on most machines. The following
examples should assist you in determining how to correct this situation.
The examples cover the complete range of settings that may need
updating, but they are not all needed in every situation.</para>
<itemizedlist>
<listitem><para>Expand the PATH to include
$PREFIX/bin.</para></listitem>
<listitem><para>Expand the PATH for root to include
$PREFIX/sbin.</para></listitem>
<listitem><para>Add $PREFIX/lib to /etc/ld.so.conf or expand
LD_LIBRARY_PATH to include it.</para></listitem>
<listitem><para>Add $PREFIX/man to /etc/man.conf or expand
MANPATH.</para></listitem>
<listitem><para>Add $PREFIX/info to INFOPATH.</para></listitem>
<listitem><para>Add $PREFIX/lib/pkgconfig to
PKG_CONFIG_PATH.</para></listitem>
<listitem><para>Add $PREFIX/include to CPPFLAGS when compiling packages
that depend on the package you installed.</para></listitem>
</itemizedlist>
</appendix>