The Linux Standard Base (LSB) was a joint project by several Linux distributions under the organizational structure of the Linux Foundation to standardize the software system structure, including the Filesystem Hierarchy Standard. LSB was based on the POSIX specification, the Single UNIX Specification (SUS), and several other open standards, but extended them in certain areas. According to LSB:
The goal of the LSB is to develop and promote a set of open standards that will increase compatibility among Linux distributions and enable software applications to run on any compliant system even in binary form. In addition, the LSB will help coordinate efforts to recruit software vendors to port and write products for Linux Operating Systems.
LSB compliance might be certified for a product by a certification procedure. LSB specified standard libraries (centered around the ld-lsb.so), a number of commands and utilities that extended the POSIX standard, the layout of the file system hierarchy, run levels, the printing system, including spoolers such as CUPS and tools like Foomatic, and several extensions to the X Window System. It also specified boot facilities, such as $local_fs, $network, which were used to indicate service dependencies in System V-style initialization scripts. A machine readable comment block at the top of a script provided the information necessary to determine at which point of the initialization process the script should be invoked; it was called the LSB header. The command lsb_release -a was available in many systems to get the LSB version details, or could be made available by installing an appropriate package, for example the redhat-lsb package in Red-Hat-flavored distributions such as Fedora, or the lsb-release package in Debian-based distributions. The standard stopped being updated in 2015 and current Linux distributions do not adhere to or offer it; however, the lsb_release command is sometimes still available. On February 7, 2023, a former maintainer of the LSB wrote, "The LSB project is essentially abandoned."
Backward compatibility
LSB was designed to be binary-compatible and produced a stable application binary interface (ABI) for independent software vendors. To provide backward compatibility, the LSB adopted an interface deprecation policy to give application developers enough time to adapt in case an interface was removed from LSB. An interface that was to be removed would first be marked as deprecated in an LSB release; that interface would still be supported in that release and at least two subsequent LSB releases. This allowed the developer to rely on every interface in LSB for a known time and also to plan for changes. LSB 5.0 was the first major release that broke backward compatibility with earlier versions, as it removed Qt 3; applications dynamically linked with Qt 3 libraries were not guaranteed to run on all LSB 5.0-compliant distributions.
Version history 1.0: Initial release June 29, 2001. 1.1: Released January 22, 2002. Added hardware-specific specifications (IA-32). 1.2: Released June 28, 2002. Added hardware-specific specifications (PowerPC 32-bit). Certification began July 2002. 1.2.1: Released October 2002. Added Itanium. 1.3: Released December 17, 2002. Added hardware-specific specifications (Itanium, Enterprise System Architecture/390, z/Architecture). 2.0: Released August 31, 2004 LSB is modularized to LSB-Core, LSB-CXX, LSB-Graphics, and LSB-I18n (not released) New hardware-specific specifications (PowerPC 64-bit, AMD64) Synchronized to Single UNIX Specification (SUS) version 3 2.0.1: Released October 21, 2004, ISO version of LSB 2.0, which included specification for all hardware architectures (except LSB-Graphics, of which only a generic version is available). 2.1: Released March 11, 2005. 3.0: Released July 1, 2005. Among other library changes: GNU C Library version 2.3.4 C++ ABI is changed to the one used by gcc 3.4 The core specification is updated to ISO POSIX (2003) Technical Corrigenda 1: 2005 3.1: Released October 31, 2005. This version has been submitted as ISO/IEC 23360:2006. 3.2: Released January 28, 2008. This version has been submitted as ISO/IEC 23360:2006. 4.0: Released November 11, 2008. This version contains the following features: GNU C Library version 2.4 Binary compatibility with LSB 3.x Easier to use SDK Support for newer versions of GTK and Cairo graphical libraries Java (optional module) Simpler ways of creating LSB-compliant RPM packages Crypto API (via the Network Security Services library) (optional module) 4.1: Released February 16, 2011: Java removed "Trial Use" modules from LSB 4.0, covering multimedia (ALSA), security (NSS) and desktop miscellaneous (xdg-utils) have been promoted as required submodules Updated GTK+, Cairo and CUPS libraries Three new test suites added 5.0: Released June 2, 2015, This version has been submitted as ISO/IEC 23360:2021 GNU C Library version 2.10 (for psiginfo) First major release that breaks backward compatibility with earlier versions (compatible with LSB 3.0, and mostly compatible with LSB 3.1 and later, with some exceptions) Incorporates the changes made in FHS 3.0 Qt 3 library has been removed Evolved module strategy; LSB is modularized to LSB Core, LSB Desktop, LSB Languages, LSB Imaging, and LSB Trial Use
ISO/IEC standard The LSB, version 3.1, is registered as an official ISO/IEC international standard. The main parts of it are:
… excerpt ends here. Continue reading the full article.



