source: general/genlib/genlib.xml@ 4ea49a31

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 v5_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ea49a31 was bdf5806e, checked in by Igor Živković <igor@…>, 20 years ago

added libusb, contributed by Alexander

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

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<chapter id="general-genlib">
2<?dbhtml filename="genlib.html"?>
3<title>General Libraries</title>
4
5<para>Libraries contain code which is often required by more than
6one program. This has the advantage that each program doesn't need to
7duplicate code (and risk introducing bugs), it just has to call
8functions from the libraries installed on the system. The most obvious
9example of a set of libraries is <application>glibc</application> which is
10installed during the <acronym>LFS</acronym> book. This contains all of
11the <application>C</application> library functions which programs use.</para>
12
13<para>There are two types of library, static and shared. Shared libraries
14(usually <filename>libXXX.so</filename>) are loaded into memory from the shared
15copy at runtime (hence the name). Static libraries (<filename>libXXX.a
16</filename>) are actually linked into the program executable file itself, thus
17making the program file larger. Quite often, you will find both static and
18shared copies of the same library on your system.</para>
19
20<para>Generally, you only need to install libraries when you are
21installing software which requires functionality which they supply. In
22the <acronym>BLFS</acronym> book, each package is listed with a list of (known)
23dependencies. Thus, you can figure out which libraries you need to have
24before installing that program. If you are installing something without
25using <acronym>BLFS</acronym> instructions, usually the <filename>README
26</filename> or <filename>INSTALL</filename> file will contain details of the
27programs requirements.</para>
28
29<para>There are certain libraries which nearly <emphasis>everyone</emphasis>
30will need at some point. In this chapter we list these and some others and
31explain why you may want to install them.</para>
32
33&openssl;
34&pcre;
35&popt;
36&slang;
37&fam;
38&libxml;
39&libxml2;
40&libxslt;
41&readline;
42&gmp;
43&gdbm;
44&GLib;
45&GLib2;
46&expat;
47&libesmtp;
48&aspell;
49&ispell;
50&guile;
51&slib;
52&gwrap;
53&LZO;
54&libpcap;
55&libusb;
56</chapter>
Note: See TracBrowser for help on using the repository browser.