source: introduction/important/beyond.xml@ 4122007

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 4122007 was 4122007, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

Initial update with new xml style

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

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