#### Linux From Scratch - Version 7.9

### Preface

- Prev

  LFS Target Architectures

- Next

  Rationale for Packages in the Book

- Up
- Home

# iv. LFS and Standards

The structure of LFS follows Linux standards as closely as possible. The primary standards are:

- POSIX.1-2008.

- Filesystem Hierarchy Standard (FHS) Version 3.0

- Linux Standard Base (LSB) Version 5.0

  The LSB has four separate standards: Core, Desktop, Runtime Languages, and Imaging. In addition to generic requirements there are also architecture specific requirements. There are also two areas for trial use: Gtk3 and Graphics. LFS attempts to conform to the architectures discussed in the previous section.

  ### Note

  Many people do not agree with the requirements of the LSB. The main purpose of defining it is to ensure that proprietary software will be able to be installed and run properly on a compliant system. Since LFS is source based, the user has complete control over what packages are desired and many choose not to install some packages that are specified by the LSB.

Creating a complete LFS system capable of passing the LSB certifications tests is possible, but not without many additional packages that are beyond the scope of LFS. These additional packages have installation instructions in BLFS.

### Packages supplied by LFS needed to satisfy the LSB Requirements

LSB Core: | Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, Grep, GTK+2, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed, Shadow, Tar, Util-linux, Zlib
LSB Desktop: | None
LSB Runtime Languages: | Perl
LSB Imaging: | None
LSB Gtk3 and LSB Graphics (Trial Use): | None

### Packages supplied by BLFS needed to satisfy the LSB Requirements

LSB Core: | At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools, Lsb_release, NSPR, NSS, PAM, Pax, Sendmail (or Postfix or Exim), time
LSB Desktop: | Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig, Gdk-pixbuf, Glib2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff, Libxml2, MesaLib, Pango, Qt4, Xdg-utils, Xorg
LSB Runtime Languages: | Python, Libxml2, Libxslt
LSB Imaging: | CUPS, Cups-filters, Ghostscript, SANE
LSB Gtk3 and LSB Graphics (Trial Use): | GTK+3

### Packages not supplied by LFS or BLFS needed to satisfy the LSB Requirements

LSB Core: | None
LSB Desktop: | None
LSB Runtime Languages: | None
LSB Imaging: | None
LSB Gtk3 and LSB Graphics (Trial Use): | None

- Prev

  LFS Target Architectures

- Next

  Rationale for Packages in the Book

- Up
- Home