10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
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
gimp3
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_0
v5_0-pre1
v5_1
v5_1-pre1
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 3fedd09 was 3fedd09, checked in by Larry Lawrence <larry@…>, 21 years ago |
pine patch finished
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@902 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | <appendix id="appendices-generic">
|
---|
2 | <?dbhtml filename="generic.html" dir="appendices"?>
|
---|
3 | <title>Installing in non-default locations</title>
|
---|
4 |
|
---|
5 | <para>When you want to install a package to a location other than
|
---|
6 | <filename class='directory'>/</filename>, or <filename class='directory'>/usr</filename>, you are installing
|
---|
7 | outside the default envionment settings on most machines. The following
|
---|
8 | examples should assist you in determining how to correct this situation.
|
---|
9 | The examples cover the complete range of settings that may need
|
---|
10 | updating, but they are not all needed in every situation.</para>
|
---|
11 |
|
---|
12 | <itemizedlist>
|
---|
13 | <listitem><para>Expand the <envar>PATH</envar> to include
|
---|
14 | <filename class='directory'>$<envar>PREFIX</envar>/bin</filename>.</para></listitem>
|
---|
15 | <listitem><para>Expand the <envar>PATH</envar> for root to include
|
---|
16 | <filename class='directory'>$<envar>PREFIX</envar>/sbin</filename>.</para></listitem>
|
---|
17 | <listitem><para>Add <filename class='directory'>$<envar>PREFIX</envar>/lib</filename>
|
---|
18 | to <filename>/etc/ld.so.conf</filename> or expand
|
---|
19 | <envar>LD_LIBRARY_PATH</envar> to include it.</para></listitem>
|
---|
20 | <listitem><para>Add <filename class='directory'>$PREFIX/man</filename>
|
---|
21 | to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem>
|
---|
22 | <listitem><para>Add <filename class='directory'>$<envar>PREFIX</envar>/info</filename>
|
---|
23 | to <envar>INFOPATH</envar>.</para></listitem>
|
---|
24 | <listitem><para>Add <filename
|
---|
25 | class='directory'>$PREFIX/lib/pkgconfig</filename> to
|
---|
26 | <envar>PKG_CONFIG_PATH</envar>.</para></listitem>
|
---|
27 | <listitem><para>Add <filename
|
---|
28 | class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages
|
---|
29 | that depend on the package you installed.</para></listitem>
|
---|
30 | </itemizedlist>
|
---|
31 |
|
---|
32 | </appendix>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.