glfs/appendices/generic/generic.xml
Tushar Teredesai 45e4bc5072 updated to alsa-0.9.4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@913 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-06-04 02:39:18 +00:00

33 lines
1.6 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 class='directory'>/</filename>, or <filename class='directory'>/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 <envar>PATH</envar> to include
<filename class='directory'>$PREFIX/bin</filename>.</para></listitem>
<listitem><para>Expand the <envar>PATH</envar> for root to include
<filename class='directory'>$PREFIX/sbin</filename>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/lib</filename>
to <filename>/etc/ld.so.conf</filename> or expand
<envar>LD_LIBRARY_PATH</envar> to include it.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/man</filename>
to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem>
<listitem><para>Add <filename class='directory'>$PREFIX/info</filename>
to <envar>INFOPATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/lib/pkgconfig</filename> to
<envar>PKG_CONFIG_PATH</envar>.</para></listitem>
<listitem><para>Add <filename
class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages
that depend on the package you installed.</para></listitem>
</itemizedlist>
</appendix>