source: introduction/important/beyond.xml@ 58c6057

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 58c6057 was 58c6057, checked in by Randy McMurchy <randy@…>, 18 years ago

Changed instances of man.conf to man_db.conf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5827 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="beyond" xreflabel="Going Beyond BLFS">
9 <?dbhtml filename="beyond.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Going Beyond BLFS</title>
17
18 <para>The packages that are installed in this book are only the tip of the
19 iceberg. We hope that the experience you gained with the LFS book and
20 the BLFS book will give you the background needed to compile, install
21 and configure packages that are not included in this book.</para>
22
23 <para>When you want to install a package to a location other than
24 <filename class='directory'>/</filename>, or
25 <filename class='directory'>/usr</filename>, you are installing
26 outside the default environment settings on most machines. The following
27 examples should assist you in determining how to correct this situation.
28 The examples cover the complete range of settings that may need
29 updating, but they are not all needed in every situation.</para>
30
31 <itemizedlist>
32 <listitem>
33 <para>Expand the <envar>PATH</envar> to include
34 <filename class='directory'>$PREFIX/bin</filename>.</para>
35 </listitem>
36 <listitem>
37 <para>Expand the <envar>PATH</envar> for
38 <systemitem class="username">root</systemitem> to include
39 <filename class='directory'>$PREFIX/sbin</filename>.</para>
40 </listitem>
41 <listitem>
42 <para>Add <filename class='directory'>$PREFIX/lib</filename>
43 to <filename>/etc/ld.so.conf</filename> or expand
44 <envar>LD_LIBRARY_PATH</envar> to include it. Before using the latter
45 option, check out <ulink url="http://www.visi.com/~barr/ldpath.html"/>.
46 If you modify <filename>/etc/ld.so.conf</filename>, remember to update
47 <filename>/etc/ld.so.cache</filename> by executing
48 <command>ldconfig</command> as the
49 <systemitem class="username">root</systemitem> user.</para>
50 </listitem>
51 <listitem>
52 <para>Add <filename class='directory'>$PREFIX/man</filename>
53 to <filename>/etc/man_db.conf</filename> or expand
54 <envar>MANPATH</envar>.</para>
55 </listitem>
56 <listitem>
57 <para>Add <filename class='directory'>$PREFIX/info</filename>
58 to <envar>INFOPATH</envar>.</para>
59 </listitem>
60 <listitem>
61 <para>Add <filename class='directory'>$PREFIX/lib/pkgconfig</filename>
62 to <envar>PKG_CONFIG_PATH</envar>. Some packages are now installing
63 <filename class='extension'>.pc</filename> files in
64 <filename class='directory'>$PREFIX/share/pkgconfig</filename>, so you may
65 have to include this directory also.</para>
66 </listitem>
67 <listitem>
68 <para>Add <filename class='directory'>$PREFIX/include</filename> to
69 <envar>CPPFLAGS</envar> when compiling packages that depend on
70 the package you installed.</para>
71 </listitem>
72 </itemizedlist>
73
74 <para>If you are in search of a package that is not in the book, the following
75 are different ways you can search for the desired package.</para>
76
77 <itemizedlist>
78 <listitem>
79 <para>If you know the name of the package, then search FreshMeat for
80 it at <ulink url="http://freshmeat.net/"/>. Also search Google at
81 <ulink url="http://google.com/"/>. Sometimes a search for the
82 <filename class='extension'>rpm</filename> at
83 <ulink url="http://rpmfind.net/"/> or the
84 <filename class='extension'>deb</filename> at
85 <ulink url="http://www.debian.org/distrib/packages#search_packages"/> can
86 also lead to a link to the package.</para>
87 </listitem>
88 <listitem>
89 <para>If you know the name of the executable, but not the package
90 that the executable belongs to, first try a Google search with the name
91 of the executable. If the results are overwhelming, try searching for the
92 given executable in the Debian repository at <ulink
93 url="http://www.debian.org/distrib/packages#search_contents"/>.</para>
94 </listitem>
95 </itemizedlist>
96
97 <para>Some general hints on handling new packages:</para>
98
99 <itemizedlist>
100 <listitem>
101 <para>Many of the newer packages follow the <command>./configure
102 &amp;&amp; make &amp;&amp; make install</command> process.
103 Help on the options accepted by configure can be obtained via the
104 command <command>./configure --help</command>.</para>
105 </listitem>
106 <listitem>
107 <para>Most of the packages contain documentation on compiling and
108 installing the package. Some of the documents are excellent, some not so
109 excellent. Check out the homepage of the package for any additional and
110 updated hints for compiling and configuring the package.</para>
111 </listitem>
112 <listitem>
113 <para>If you are having a problem compiling the package, try
114 searching the LFS archives at
115 <ulink url="http://search.linuxfromscratch.org/"/> for the error or if
116 that fails, try searching Google. If everything else fails,
117 try the blfs-support mailing-list.</para>
118 </listitem>
119 </itemizedlist>
120
121 <tip>
122 <para>If you have found a package that is only available in
123 <filename class='extension'>.deb</filename> or
124 <filename class='extension'>.rpm</filename>
125 format, there are two small scripts, <command>rpm2targz</command> and
126 <command>deb2targz</command> that are available at
127 <ulink url="&downloads-project;/deb2targz.tar.bz2"/> and
128 <ulink url="&downloads-project;/rpm2targz.tar.bz2"/> to convert the archives
129 into a simple <filename>tar.gz</filename> format.</para>
130 </tip>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.