Difference between revisions of "Alpine Linux"

From TBP Wiki
Jump to: navigation, search
(Created page with "Alpine Linux is a Linux distribution based on musl and BusyBox, designed for security, simplicity, and resource efficiency. It uses OpenRC for its init system and compiles all...")
 
(Features)
Line 7: Line 7:
  
 
==Features==
 
==Features==
{{prose|section|date=April 2020}}
 
 
 
Alpine uses its own [[package management|package-management]] system, apk-tools,<ref>{{Cite web|url=https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management|title=Alpine Linux package management - Alpine Linux|website=wiki.alpinelinux.org}}</ref> which originally was a collection of shell scripts<ref>{{Cite web|url=https://sourceforge.net/projects/apk-tools/|title=apk-tools|website=SourceForge}}</ref> but was later rewritten in C.<ref>{{Cite web|url=https://git.alpinelinux.org/apk-tools/|title=apk-tools - Alpine package manager|website=git.alpinelinux.org}}</ref> Alpine currently contains most commonly used packages such as [[GNOME]], [[Xfce]], [[Firefox]], and others.
 
Alpine uses its own [[package management|package-management]] system, apk-tools,<ref>{{Cite web|url=https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management|title=Alpine Linux package management - Alpine Linux|website=wiki.alpinelinux.org}}</ref> which originally was a collection of shell scripts<ref>{{Cite web|url=https://sourceforge.net/projects/apk-tools/|title=apk-tools|website=SourceForge}}</ref> but was later rewritten in C.<ref>{{Cite web|url=https://git.alpinelinux.org/apk-tools/|title=apk-tools - Alpine package manager|website=git.alpinelinux.org}}</ref> Alpine currently contains most commonly used packages such as [[GNOME]], [[Xfce]], [[Firefox]], and others.
  

Revision as of 11:23, 20 September 2021

Alpine Linux is a Linux distribution based on musl and BusyBox, designed for security, simplicity, and resource efficiency. It uses OpenRC for its init system and compiles all user-space binaries as position-independent executables with stack-smashing protection.

Because of its small size, it is commonly used in containers providing quick boot-up times.

History

Originally, Alpine Linux began as a fork of the LEAF Project. 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: Squid and Samba. They also added security features and a newer kernel.

Features

Alpine uses its own package-management system, apk-tools,<ref>Template:Cite web</ref> which originally was a collection of shell scripts<ref>Template:Cite web</ref> but was later rewritten in C.<ref>Template:Cite web</ref> Alpine currently contains most commonly used packages such as GNOME, Xfce, Firefox, and others.

Alpine Linux can be installed as a run-from-RAM operating system. The LBU (Alpine Local Backup)<ref>Template:Cite web</ref> 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.

A hardened kernel was included in the default distribution for up to and including Alpine 3.7, 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.

By default, it includes patches that allow using efficient meshed VPNs using the DMVPN standard.

It 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.)

It allows very small Linux containers, around 8 MB in size, while a minimal installation to disk might be around 130 MB.<ref name="about"/>

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.<ref>Template:Cite web</ref>

It previously used uClibc as its C standard library 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 9 April 2014,<ref>Template:Cite web</ref> Alpine Linux switched to musl, which is partially binary compatible with glibc.<ref>Template:Cite web</ref>

The lightweight OpenRC is the init system currently used by Alpine Linux.<ref>Template:Cite web</ref> Unlike many distributions, Alpine does not use systemd.

References

Template:Reflist

Virtualization Box

Come back later...

External links