2024-01-18 19:53:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-11-23 08:36:36 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="pre-standards">
|
|
|
|
<?dbhtml filename="standards.html"?>
|
|
|
|
|
|
|
|
<title>LFS and Standards</title>
|
|
|
|
|
2009-11-24 21:50:43 +00:00
|
|
|
<!--<sect2>
|
|
|
|
<title/> -->
|
2009-11-23 08:36:36 +00:00
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<para>The structure of LFS follows Linux standards as closely as
|
2009-11-23 08:36:36 +00:00
|
|
|
possible. The primary standards are:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2022-09-05 02:52:05 +01:00
|
|
|
<para><ulink url="https://pubs.opengroup.org/onlinepubs/9699919799/">
|
2011-07-08 17:51:26 +01:00
|
|
|
POSIX.1-2008</ulink>.</para>
|
2009-11-23 08:36:36 +00:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2021-09-07 21:52:28 +01:00
|
|
|
<para><ulink
|
2022-09-05 02:52:05 +01:00
|
|
|
url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
|
2015-06-11 04:09:05 +01:00
|
|
|
Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2022-09-05 02:52:05 +01:00
|
|
|
<para><ulink url="https://refspecs.linuxfoundation.org/lsb.shtml">Linux
|
2018-03-25 19:01:51 +01:00
|
|
|
Standard Base (LSB) Version 5.0 (2015)</ulink></para>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
2022-10-18 07:32:33 +01:00
|
|
|
<para>The LSB has four separate specifications: Core, Desktop,
|
2024-09-25 19:58:38 +01:00
|
|
|
Languages, and Imaging. Some parts of Core and Desktop
|
2022-10-18 07:32:33 +01:00
|
|
|
specifications are architecture specific. There are also two trial
|
|
|
|
specifications: Gtk3 and Graphics. LFS attempts to conform to the LSB
|
|
|
|
specifications for the IA32 (32-bit x86) or AMD64 (x86_64)
|
2015-06-11 04:09:05 +01:00
|
|
|
architectures discussed in the previous section.</para>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
2022-10-15 21:05:17 +01:00
|
|
|
<note><para>Many people do not agree with these requirements.
|
|
|
|
The main purpose of the LSB is to ensure that proprietary software
|
|
|
|
can be installed and run on a compliant system.
|
2010-02-19 20:17:17 +00:00
|
|
|
Since LFS is source based, the user has complete control over what
|
2022-10-15 21:05:17 +01:00
|
|
|
packages are desired; you may choose not to install some packages that
|
2010-02-19 20:17:17 +00:00
|
|
|
are specified by the LSB.</para></note>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2022-10-15 21:05:17 +01:00
|
|
|
<para>While it is possible to create a complete system that will pass the LSB
|
2024-01-26 17:28:53 +00:00
|
|
|
certification tests <quote>from scratch,</quote> this can't be done without many additional packages
|
2024-09-25 19:58:38 +01:00
|
|
|
that are beyond the scope of the LFS book. Installation instructions for some of these
|
2022-10-15 21:05:17 +01:00
|
|
|
additional packages can be found in BLFS. </para>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
2009-11-24 21:50:43 +00:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Packages supplied by LFS needed to
|
2010-02-19 20:17:17 +00:00
|
|
|
satisfy the LSB Requirements</bridgehead>
|
2009-11-24 21:50:43 +00:00
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis>LSB Core:</emphasis></term>
|
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>
|
|
|
|
Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
|
|
|
|
GCC, Gettext, Glibc, Grep, Gzip, M4, Man-DB, Procps, Psmisc,
|
|
|
|
Sed, Shadow, <phrase revision='sysv'>SysVinit</phrase><phrase
|
|
|
|
revision='systemd'>Systemd</phrase>, Tar, Util-linux, Zlib
|
|
|
|
</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2009-11-28 21:53:14 +00:00
|
|
|
<term><emphasis>LSB Desktop:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
|
|
|
<para>None</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2024-09-25 19:58:38 +01:00
|
|
|
<term><emphasis>LSB Languages:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>Perl</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Imaging:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
|
|
|
<para>None</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
|
|
|
<para>None</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<variablelist>
|
2009-11-24 21:50:43 +00:00
|
|
|
<bridgehead renderas="sect3">Packages supplied by BLFS needed to
|
2010-02-19 20:17:17 +00:00
|
|
|
satisfy the LSB Requirements</bridgehead>
|
2009-11-24 21:50:43 +00:00
|
|
|
<?dbfo list-presentation="list"?>
|
2013-02-11 20:09:22 +00:00
|
|
|
<?dbhtml list-presentation="table"?>
|
2009-11-24 21:50:43 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis>LSB Core:</emphasis></term>
|
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>At, Batch (a part of At), BLFS Bash Startup Files, Cpio, Ed,
|
|
|
|
Fcrontab, LSB-Tools, NSPR, NSS, Linux-PAM, Pax, Sendmail
|
|
|
|
(or Postfix or Exim), Time
|
2015-06-11 04:09:05 +01:00
|
|
|
</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2009-11-28 21:53:14 +00:00
|
|
|
<term><emphasis>LSB Desktop:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2015-06-11 04:09:05 +01:00
|
|
|
<para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
|
2024-09-25 19:58:38 +01:00
|
|
|
Gdk-pixbuf, Glib2, GLU, Icon-naming-utils, Libjpeg-turbo,
|
|
|
|
Libxml2, Mesa, Pango, Xdg-utils, Xorg</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2024-09-25 19:58:38 +01:00
|
|
|
<term><emphasis>LSB Languages:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>Libxml2, Libxslt</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Imaging:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2015-06-11 04:09:05 +01:00
|
|
|
<para>CUPS, Cups-filters, Ghostscript, SANE</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2015-06-11 04:09:05 +01:00
|
|
|
<para>GTK+3</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<variablelist>
|
2024-09-25 19:58:38 +01:00
|
|
|
<bridgehead renderas="sect3">Components not supplied or optionally
|
|
|
|
supplied by LFS or BLFS needed to satisfy the LSB
|
|
|
|
Requirements</bridgehead>
|
2009-11-24 21:50:43 +00:00
|
|
|
<?dbfo list-presentation="list"?>
|
2013-02-11 20:09:22 +00:00
|
|
|
<?dbhtml list-presentation="table"?>
|
2009-11-24 21:50:43 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><emphasis>LSB Core:</emphasis></term>
|
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>
|
|
|
|
<command>install_initd</command>,
|
|
|
|
<filename class='libraryfile'>libcrypt.so.1</filename>
|
|
|
|
(can be provided with optional instructions for the LFS
|
|
|
|
Libxcrypt package),
|
|
|
|
<filename class='libraryfile'>libncurses.so.5</filename>
|
|
|
|
(can be provided with optional instructions for the LFS
|
|
|
|
Ncurses package),
|
|
|
|
<filename class='libraryfile'>libncursesw.so.5</filename>
|
|
|
|
(but <filename class='libraryfile'>libncursesw.so.6</filename>
|
|
|
|
is provided by the LFS Ncurses package)
|
|
|
|
</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2009-11-28 21:53:14 +00:00
|
|
|
<term><emphasis>LSB Desktop:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>
|
2024-10-05 20:32:51 +01:00
|
|
|
<filename class='libraryfile'>libgdk-x11-2.0.so</filename>
|
2024-09-25 19:58:38 +01:00
|
|
|
(but <filename class='libraryfile'>libgdk-3.so</filename>
|
|
|
|
is provided by the BLFS GTK+-3 package),
|
2024-10-05 20:32:51 +01:00
|
|
|
<filename class='libraryfile'>libgtk-x11-2.0.so</filename>
|
2024-09-25 19:58:38 +01:00
|
|
|
(but <filename class='libraryfile'>libgtk-3.so</filename>
|
|
|
|
and <filename class='libraryfile'>libgtk-4.so</filename>
|
|
|
|
are provided by the BLFS GTK+-3 and GTK-4 packages),
|
|
|
|
<filename class='libraryfile'>libpng12.so</filename>
|
|
|
|
(but <filename class='libraryfile'>libpng16.so</filename>
|
|
|
|
is provided by the BLFS Libpng package),
|
|
|
|
<filename class='libraryfile'>libQt*.so.4</filename>
|
|
|
|
(but <filename class='libraryfile'>libQt6*.so.6</filename>
|
|
|
|
are provided by the BLFS Qt6 package),
|
|
|
|
<filename class='libraryfile'>libtiff.so.4</filename>
|
|
|
|
(but <filename class='libraryfile'>libtiff.so.6</filename>
|
|
|
|
is provided by the BLFS Libtiff package)
|
|
|
|
</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2024-09-25 19:58:38 +01:00
|
|
|
<term><emphasis>LSB Languages:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para><command>/usr/bin/python</command> (LSB requires Python2 but
|
|
|
|
LFS and BLFS only provide Python3)</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Imaging:</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
|
|
|
<para>None</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2015-06-11 04:09:05 +01:00
|
|
|
<term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
2009-11-24 21:50:43 +00:00
|
|
|
<listitem>
|
2024-09-25 19:58:38 +01:00
|
|
|
<para>
|
|
|
|
<filename class='libraryfile'>libpng15.so</filename>
|
|
|
|
(but <filename class='libraryfile'>libpng16.so</filename>
|
|
|
|
is provided by the BLFS Libpng package)
|
|
|
|
</para>
|
2009-11-24 21:50:43 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2009-11-23 08:36:36 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|