Jump to content

Alpine Linux: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Nepulos (talk | contribs)
Version history: moved legend outside of the table to fix sorting
Line 41: Line 41:
! Version !! Release date<ref>[https://alpinelinux.org/posts/ Alpine Linux News archive]</ref><ref>[https://distrowatch.com/index.php?distribution=alpine Announcements on DistroWatch.com]</ref> !! End-of-life date<ref> [https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases Alpine Linux:Releases]</ref> !! Kernel release
! Version !! Release date<ref>[https://alpinelinux.org/posts/ Alpine Linux News archive]</ref><ref>[https://distrowatch.com/index.php?distribution=alpine Announcements on DistroWatch.com]</ref> !! End-of-life date<ref> [https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases Alpine Linux:Releases]</ref> !! Kernel release
|-
|-
| {{Version |o |2.0}}<ref>[http://linuxbsdos.com/2010/08/23/alpine-linux-2-review/ Alpine Linux 2 review | LinuxBSDos.com]</ref>
| {{Version |o |2.0}}
| 2010-08-16
| 2010-08-16
| 2012-04-01
| 2012-04-01
Line 111: Line 111:
| 4.4.xx
| 4.4.xx
|-
|-
| {{Version |co |3.6}}<ref>[https://www.infoworld.com/article/3206644/linux/review-alpine-linux-is-made-for-docker.html Review: Alpine Linux is made for Docker | InfoWorld]</ref>
| {{Version |co |3.6}}
| 2017-05-24
| 2017-05-24
| 2019-05-01
| 2019-05-01

Revision as of 09:38, 12 August 2018

Alpine Linux
DeveloperAlpine Linux development team
OS familyLinux
Working stateActive
Source modelOpen source
Latest release3.8.0 / 26 June 2018; 6 years ago (2018-06-26)[1]
Repository
Marketing targetDevelopers, power users
Available inMultilingual
Package managerAPK
Platformsx86, x86-64, ARMhf, AArch64, ppc64le, s390x
Kernel typeMonolithic (Linux)
UserlandBusyBox (GNU Core Utilities are optional)
Default
user interface
Command-line interface
Official websitealpinelinux.org

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

Because of its small size, it's heavily used in containers for quicker boot up time.[8]

A fork of the distribution, postmarketOS, is designed to run on mobile devices.

History

Originally, Alpine Linux began as a fork of the LEAF Project.[9] 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

Version Release date[10][11] End-of-life date[12] Kernel release
Old version, no longer maintained: 2.0[13] 2010-08-16 2012-04-01
Old version, no longer maintained: 2.1 2010-11-01 2012-11-01
Old version, no longer maintained: 2.2 2011-05-03 2013-05-01
Old version, no longer maintained: 2.3 2011-11-01 2013-11-01
Old version, no longer maintained: 2.4 2012-05-02 2014-05-01
Old version, no longer maintained: 2.5 2012-11-07 2014-11-01
Old version, no longer maintained: 2.6 2013-05-17 2015-05-01
Old version, no longer maintained: 2.7 2013-11-08 2015-11-01
Old version, no longer maintained: 3.0 2014-06-04 2016-05-01
Old version, no longer maintained: 3.1 2014-12-10 2016-11-01
Old version, no longer maintained: 3.2[14] 2015-05-26 2017-05-01 3.18.xx
Old version, no longer maintained: 3.3 2016-01-06 2017-11-01 4.1.xx
Old version, no longer maintained: 3.4 2016-05-31 2018-05-01 4.4.xx
Old version, yet still maintained: 3.5 2016-12-22 2018-11-01 4.4.xx
Old version, yet still maintained: 3.6[15] 2017-05-24 2019-05-01 4.9.xx
Old version, yet still maintained: 3.7 2017-11-30 2019-11-01 4.9.xx
Current stable version: 3.8[16] 2018-06-26 4.14.xx
Latest preview version of a future release: edge rolling
Legend:
Old version, not maintained
Old version, still maintained
Latest version
Latest preview version
Future release

Features

  • Package management: Alpine uses its own package management system, apk-tools,[17] 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. Typical package installation times are between 1 and a few seconds.
  • Running from RAM: Alpine Linux can be installed as a run-from-RAM distribution. The LBU (Alpine Local Backup)[18] 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). This allows Alpine to work reliably in demanding embedded environments or to (temporarily) survive partial disk failures as sometimes experienced in public cloud environments.
  • Security: A hardened kernel is included in the default Alpine Linux kernel, which aids in reducing the impact of exploits and vulnerabilities. All packages are also compiled with stack-smashing protection to help mitigate the effects of userland buffer overflows.
  • Networking: Alpine Linux is the only distribution that as a default includes patches that allow using efficient meshed VPNs using the DMVPN standard.
  • Virtualization: Alpine Linux has reliably had excellent support of Xen hypervisors in up-to-date versions, which avoids issues as experienced with Enterprise Distributions. (The standard Linux hypervisor KVM, is also available.)
  • 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.[7] 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. It is a standard framework based on simple LUA scripts.[citation needed]
  • C standard library: Alpine Linux previously used uClibc instead of the traditional GNU C Library (glibc) most commonly used. Although it is more lightweight, 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[19], Alpine Linux switched to musl, which is partially binary compatible with glibc.[20]
  • Init system: The simple and lightweight OpenRC is the init system currently used by Alpine Linux.[21] Unlike many distributions, including Debian, Ubuntu, RHEL, Arch Linux and CentOS, Alpine does not use systemd.

References

  1. ^ "Alpine Linux 3.8.0 released". Alpine Linux. Alpine Linux Development Team. 2018-06-26. Retrieved 2018-06-27.
  2. ^ Review: Alpine Linux is made for Docker | InfoWorld
  3. ^ Alpine Linux 2 review | LinuxBSDos.com
  4. ^ Security-Oriented Alpine Linux 3.7 Has UEFI Support, GRUB Support in Installer, Softpedia News
  5. ^ 10 Most Secure Linux Distros For Complete Privacy & Anonymity | 2017 Edition, FossBytes
  6. ^ Is Docker ditching Ubuntu Linux? Confusion reigns | Network World
  7. ^ a b about | Alpine Linux
  8. ^ Meet Alpine Linux, Docker’s Distribution of Choice for Containers
  9. ^ "linux.leaf.devel - Re: [leaf-devel] 2.6.x kernel support? - msg#00039 - Recent Discussion OSDir.com". Archived from the original on 14 May 2016. {{cite web}}: Cite has empty unknown parameter: |dead-url= (help)
  10. ^ Alpine Linux News archive
  11. ^ Announcements on DistroWatch.com
  12. ^ Alpine Linux:Releases
  13. ^ Alpine Linux 2 review | LinuxBSDos.com
  14. ^ DistroWatch Weekly, Issue 617, 6 July 2015
  15. ^ Review: Alpine Linux is made for Docker | InfoWorld
  16. ^ DistroWatch Weekly, Issue 770, 2 July 2018
  17. ^ "Alpine Linux package management".
  18. ^ "Alpine local backup".
  19. ^ "Release notes". alpinelinux.org. Retrieved 6 May 2018.
  20. ^ "musl FAQ".
  21. ^ "Alpine Linux Init System".