mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 19:57:18 +08:00
29 lines
1.2 KiB
XML
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>
|