Alpine Linux

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Alpine Linux
Alpine Linux.svg
Developer Alpine Linux development team
OS family Unix-like
Working state Active
Source model Open source
Latest release 3.6.2 / 17 June 2017; 4 days ago (2017-06-17)[1]
Marketing target Developers, power users
Available in Multilingual
Package manager APK
Platforms x86, x86-64, ARMhf, AArch64
Kernel type Monolithic (Linux)
Userland BusyBox (GNU Core Utilities are optional)
Default user interface Command-line interface
Official website alpinelinux.org

Alpine Linux is a Linux distribution based on musl and BusyBox, primarily designed for "power users who appreciate security, simplicity and resource efficiency". It uses a hardened kernel and compiles all user space binaries as position-independent executables with stack-smashing protection.[2]

History[edit]

Originally, Alpine Linux began as a fork of the LEAF project.[3] The members of LEAF wanted to continue making a Linux distribution that could fit on a single floppy disk, whereas the Alpine Linux wished to include some more heavyweight packages such as Squid and Samba, as well as additional security features and a newer kernel. One of the original goals was to create a framework for larger systems; although usable for this purpose, this is no longer a primary goal.[citation needed]

Version history[edit]

Version Release date[4] End-of-life date[5] Kernel release
Old version, no longer supported: 3.2 2015-05-26 2017-05-01 3.18.xx
Older version, yet still supported: 3.3 2016-01-06 2017-11-01 4.1.xx
Older version, yet still supported: 3.4 2016-05-31 2018-05-01 4.4.xx
Older version, yet still supported: 3.5 2016-12-22 2018-11-01 4.4.xx
Current stable version: 3.6 2017-05-24 2019-05-01 4.9.xx
Latest preview version of a future release: edge rolling N/A N/A
Legend:
Old version
Older version, still supported
Latest version
Latest preview version
Future release

Features[edit]

  • Package management: Alpine uses its own package management system, apk-tools,[6] which originally was a collection of shell scripts but was later rewritten in C. Alpine currently contains most commonly used packages such as GNOME, Xfce, Firefox, and others.
  • Running from RAM: Alpine Linux can be installed as a run-from-RAM distribution. The LBU (Alpine Local Backup)[7] tool optionally allows all configuration files to be backed up to an APK overlay file (usually shortened to apkovl), a tar.gz file that by default stores a copy of all changed files in /etc (with the option to add more directories).
  • Security: A hardened kernel is included in the default Alpine Linux kernel, which aids in reducing the impact from exploits similar to the vmsplice() local root exploit. All packages are also compiled with stack-smashing protection to help mitigate the effects of userland buffer overflows.
  • Size: the base system in Alpine Linux is designed to be only 4–5 MB in size (excluding the kernel).[citation needed] This allows very small Linux containers, around 8 MB in size, while a minimal installation to disk might be around 130 MB.[2] The Linux kernel is much larger; the 3.18.16 kernel includes 121 MB of loadable kernel modules (primarily drivers) in addition to the 3.3 MB for the base x86-64 kernel image.[citation needed]
  • Alpine Configuration Framework (ACF): While optional, ACF is an application for configuring an Alpine Linux machine, with goals similar to Debian's debconf.[citation needed]
  • C standard library: Alpine Linux previously used uClibc instead of the traditional GNU C Library (glibc) most commonly used. Although it is lighter weight, it does have the significant drawback of being binary incompatible with glibc. Thus, all software must be compiled for use with uClibc to work properly. As of April 9, 2014, Alpine Linux switched to musl, which is partially binary compatible with glibc.[8]
  • Init system: The simple and lightweight OpenRC is the init system currently used by Alpine Linux.[9] Unlike Debian, Ubuntu, RHEL, Arch Linux and CentOS distributions of Linux, Alpine does not use systemd.

References[edit]

External links[edit]