Alpine Linux

Short description: Linux distribution based on musl and BusyBox

Alpine Linux

Developer| Alpine Linux development team
OS family| Linux (Unix-like)
Working state| Active
Source model| Open source
Initial release| August 2005; 18 years ago (2005-08)[1]
|Final release|Latest release}}| 3.19.1 / 26 January 2024; 20 days ago (2024-01-26)[2]
Marketing target| General-purpose. Security, embedded systems and other resource-constrained systems, such as containers.[3]
Available in| Multilingual
Package manager| apk-tools
Platforms|

* x86,
* x86-64,
* ARMhf,
* ARMv7,
* AArch64,
* ppc64le,
* s390x

Kernel type| Monolithic (Linux)
Userland| BusyBox
Default user interface| Ash
Official website| alpinelinux.org

Alpine Linux is a Linux distribution designed to be small, simple, and secure.[3] It uses musl, BusyBox, and OpenRC instead of the more commonly used glibc, GNU Core Utilities, and systemd.[4][5][6][7][8] This makes Alpine one of few Linux distributions not to be based on the GNU Core Utilities.[9]

For security, Alpine compiles all user-space binaries as position-independent executables with stack-smashing protection.[10]

Because of its small size and rapid startup, it is commonly used in containers providing quick boot-up times,[11][12] on virtual machines as well as on real hardware in embedded devices, such as routers, servers and NAS.[citation needed]

## Contents

* 1 History
* 2 Features
* 3 Derivatives
* 4 Integration with popular developer and administrator environments
* 5 Criticism
* 6 References
* 7 External links

## History

Originally, Alpine Linux began as an embedded-first distribution for devices such as wireless routers, based on Gentoo Linux,[13] inspired by GNAP and the Bering-uClibc branch of the LEAF Project.[1] Founder Natanael Copa has said that the name was chosen as a backronym for "A Linux-Powered Network Engine" or some similar phrase, but that the exact phrase has since been forgotten.[14]

Alpine's package management system, the Alpine Package Keeper,[15] was originally a collection of shell scripts[16] but was later rewritten in C.[17] The aim of this package manager is to achieve a high install and update speed, which it does by writing new data directly in-place into the operating system's file system, rather than employing caching or compression.[14]

In 2014, Alpine Linux switched from uClibc to musl as its C standard library.[18]

A PaX hardened kernel was included in the default distribution to aid in reducing the impact of exploits and vulnerabilities,[19] but Alpine's maintainers chose to discontinue this support due to the PaX patch no longer being made publicly available.[20] Alpine still uses a hardened toolchain and position-independent executables to minimize the potential for stack-based attacks,[14] but is now based on the standard long term stable distribution of the Linux kernel.

## Features

Alpine's primary feature is its small size, which enables it to start quickly and run in environments very low in memory and storage, such as containers or embedded devices.

Alpine Linux can optionally be installed as a run-from-RAM operating system. This allows Alpine to work reliably in demanding embedded environments or to (temporarily) survive partial disk failures as sometimes experienced in public cloud environments. By default, Alpine running in this mode will only load a few key packages, but a tool called LBU (Alpine Local Backup)[21] is made available that allow changes in this boot configuration to be written to a special file called an APK overlay file (usually shortened to apkovl), a tar.gz file that by default stores a copy of all files in /etc that have been changed from the default configuration, with the option to track more directories as needed.

Alpine offers a number of preinstalled configuration scripts which guide the user through initial configuration of the system for common computing tasks.[22] In addition, Alpine also offers a webserver-based tool known as the Alpine Configuration Framework, which allows users less familiar with Alpine or the command line to configure the operating system in a way similar to that allowed by Debian's debconf utility. Alpine's configuration scripts are written entirely as UNIX shell scripts, which call a small ISO image parsing utility written in C and distributed in Alpine. The Alpine Configuration Framework is scripted in Lua.[23]

## Derivatives

postmarketOS, a Linux distribution for mobile devices, is based on Alpine Linux.[24]

## Integration with popular developer and administrator environments

Due to its robustness and compactness, Alpine Linux got tightly integrated with popular developer and system administrator environments and toolsets.

* Microsoft Windows Store offers a deployment-ready version of Alpine WSL[25] for WSL2
* Docker offers Alpine Docker Official Image[26]
* Microsoft PowerShell provides an Alpine Linux specific build[27]

## Criticism

Alpine Linux is mainly criticized for compatibility issues with the musl library,[28][29] as well as for package pinning issues.[29][30]

## References

1. ↑ 1.0 1.1 "Re: [leaf-devel 2.6.x kernel support?"]. https://sourceforge.net/p/leaf/mailman/message/12731159/.
2. ↑ "Alpine 3.19.1 released". 2024-01-26. https://alpinelinux.org/posts/Alpine-3.19.1-released.html. Retrieved 2024-01-26.
3. ↑ 3.0 3.1 "about | Alpine Linux". https://alpinelinux.org/about/.
4. ↑ says, GigaTux (24 August 2010). "Alpine Linux 2 review | LinuxBSDos.com". https://linuxbsdos.com/2010/08/23/alpine-linux-2-review/.
5. ↑ Security-Oriented Alpine Linux 3.7 Has UEFI Support, GRUB Support in Installer, Softpedia News
6. ↑ 10 Most Secure Linux Distros For Complete Privacy & Anonymity | 2017 Edition, FossBytes
7. ↑ Noyes, Katherine (9 February 2016). "Is Docker ditching Ubuntu Linux? Confusion reigns". https://www.networkworld.com/article/3031762/is-docker-ditching-ubuntu-linux-confusion-reigns.html.
8. ↑ "OpenRC - Alpine Linux". https://wiki.alpinelinux.org/wiki/OpenRC.
9. ↑ "What is Alpine Linux? | Definition from TechTarget" (in en). https://www.techtarget.com/searchitoperations/definition/Alpine-Linux.
10. ↑ "Alpine Linux official website under Secure section.". https://alpinelinux.org/about/.
11. ↑ "Meet Alpine Linux, Docker's Distribution of Choice for Containers". 28 March 2017. https://thenewstack.io/alpine-linux-heart-docker/.
12. ↑ "Review: Alpine Linux is made for Docker". 10 July 2017. https://www.infoworld.com/article/3206644/review-alpine-linux-is-made-for-docker.html.
13. ↑ "Re: [leaf-devel 2.6.x kernel support?"]. https://sourceforge.net/p/leaf/mailman/message/12731262/.
14. ↑ 14.0 14.1 14.2 (in en) Small, Simple, and Secure: Alpine Linux under the Microscope, https://www.youtube.com/watch?v=sIG2P9k6EjA, retrieved 2023-06-30
15. ↑ "Alpine Package Keeper - Alpine Linux". https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper.
16. ↑ "apk-tools". 18 April 2013. https://sourceforge.net/projects/apk-tools/.
17. ↑ "apk-tools - Alpine package manager". https://git.alpinelinux.org/apk-tools/.
18. ↑ "Release notes". https://alpinelinux.org/posts/Alpine-3.0.0-released.html.
19. ↑ "Alpine 3.8.0 released | Alpine Linux". https://alpinelinux.org/posts/Alpine-3.8.0-released.html.
20. ↑ "How does Alpine Linux harden its kernel? — alpinelinux lists". https://lists.alpinelinux.org/~alpine/users/.
21. ↑ "Alpine local backup - Alpine Linux". https://wiki.alpinelinux.org/wiki/Alpine_local_backup.
22. ↑ alpine-conf, Alpine Linux, 2023-06-17, https://github.com/alpinelinux/alpine-conf, retrieved 2023-06-30
23. ↑ "Alpine Configuration Framework Design - Alpine Linux". https://wiki.alpinelinux.org/wiki/Alpine_Configuration_Framework_Design.
24. ↑ "postmarketOS // real Linux distribution for phones". 28 April 2022. https://postmarketos.org.
25. ↑ "Get Alpine WSL from the Microsoft Store" (in en). https://apps.microsoft.com/store/detail/alpine-wsl/9P804CRF0395.
26. ↑ "How to Use the Alpine Docker Official Image | Docker" (in en-US). 2022-09-08. https://www.docker.com/blog/how-to-use-the-alpine-docker-official-image/.
27. ↑ sdwheeler (17 March 2023). "Installing PowerShell on Alpine Linux - PowerShell" (in en-us). https://learn.microsoft.com/en-us/powershell/scripting/install/install-alpine.
28. ↑ "Python – Docker Official Image". Docker Hub. https://hub.docker.com/_/python. Retrieved November 4, 2023. ""The main caveat to note is that it does use musl libc instead of glibc and friends, so software will often run into issues depending on the depth of their libc requirements/assumptions.""
29. ↑ 29.0 29.1 Syazwan, Ahmad (February 16, 2019). "Moving away from Alpine". dev.to. https://dev.to/asyazwan/moving-away-from-alpine-30n4.
30. ↑ Schindler, Stefan (March 23, 2018). "The problem with Docker and Alpine's package pinning". Medium. https://stschindler.medium.com/the-problem-with-docker-and-alpines-package-pinning-18346593e891.

## External links

* v
* t
* e

Linux distributions

Android|

* Android-IA
* Android-x86
* LineageOS
* /e/
* CyanogenMod
* Remix OS
* Replicant

Arch|

* ArchBang
* ArchLabs
* Artix
* Chakra
* Hyperbola GNU/Linux-libre
* Manjaro
* Parabola GNU/Linux-libre

Debian|

* antiX
* Astra Linux
* Bharat Operating System Solutions
* deepin
* Devuan
* Elive
* Endless OS
* gNewSense
* HandyLinux
* Kali Linux
* Knoppix
* MX Linux
* Parrot Security OS
* SparkyLinux
* SolydXK
* SteamOS
* Tails

| Ubuntu|

* Official: Kubuntu
* Lubuntu
* Ubuntu Budgie
* Ubuntu Kylin
* Ubuntu MATE
* Ubuntu Studio
* Xubuntu

* Other: Asturix
* Bodhi Linux
* elementary OS
* KDE neon
* Linux Mint
* Pinguy OS
* Trisquel
* Uruk
* LXLE Linux
* Linux Lite
* Zorin OS

|

Fedora|

* BLAG Linux and GNU
* Korora

| Red Hat|

* CentOS
* ClearOS
* Linpus Linux
* Oracle Linux
* Qubes OS
* Rocks Cluster Distribution
* Scientific Linux
* SME Server

|

Gentoo|

* Calculate Linux
* Chromium OS
* Chrome OS
* Sabayon Linux
* Nova OS

Slackware|

* Austrumi Linux
* DeLi Linux
* DNALinux
* Kongoni
* NimbleX
* Platypux
* Porteus
* Salix OS
* Slax
* TopologiLinux
* VectorLinux
* Zenwalk

Mandriva|

* ALT Linux
* Mageia
* OpenMandriva Lx
* PCLinuxOS
* ROSA Linux

Other|

* 4MLinux
* Alpine Linux
* CRUX
* Frugalware Linux
* GeckoLinux
* GoboLinux
* GuixSD
* KaOS
* Kwort Linux
* Lunar Linux
* NixOS
* openSUSE
* SUSE Linux Enterprise Server
* Puppy Linux
* Source Mage
* Solus
* Void Linux
* Uruk GNU/Linux

* Category
* Comparison
* List
* Commons

* v
* t
* e

Linux

Linux kernel|

* History
* Kernel
* Linus's law
* Linux-libre
* Linux startup process
* Linux kernel oops
* Tux
* more…

Controversies|

* Criticism of Linux
* Criticism of desktop Linux
* GNU/Linux naming controversy
* Tanenbaum–Torvalds debate
* SCO and Linux

Distributions|

* General comparison
* Distributions list
* Netbook-specific comparison
* Distributions that run from RAM
* Lightweight
* Security-focused operating system
* Proprietary software for Linux
* Package manager
* Package format
* List of software package managers

Organizations|

* LinuxChix
* Linux Counter
* Linux Documentation Project
* Linux Foundation
* Linux Mark Institute
* Linux User Group (LUG)

Adoption|

* Adopters
* Desktop
* Embedded
* Gaming
* Mobile
* Range of use

Media|

* DistroWatch
* Free Software Magazine
* Full Circle
* Linux.com
* Linux Format
* Linux Gazette
* Linux Journal
* Linux Magazine
* LinuxUser
* Ubuntu User
* Linux Outlaws
* Linux Voice
* LugRadio
* LWN.net
* Open Source For You
* Phoronix
* Revolution OS
* The Code

* Linux
* Linux kernel features
* Portal
* WikiProject

* v
* t
* e

Linux package management systems

dpkg|

* APT
* KPackage
* Synaptic
* Ubuntu Software Center
* aptitude
* dselect

RPM|

* APT-RPM
* DNF
* up2date
* urpmi
* Rpmdrake
* YUM
* ZYpp

Embedded systems|

* ipkg
* opkg

Distribution-agnostic|

* AppImage
* Flatpak
* GNU Guix
* Nix
* pkgsrc
* Snappy

Others (binary)|

* Conary
* Entropy
* netpkg
* pacman
* PiSi
* PPM
* slackpkg
* slapt-get
* swaret
* upkg

Others (source)|

* Sorcery
* Portage

Front-ends|

* Autopackage
* Listaller
* PackageKit
* Discover
* GNOME Software
* Apper
* Zero Install

Related topics|

* AppData
* AppStream
* Package format

* List
* Category
* Commons
* Italics indicates a discontinued or inactive package management system.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Alpine Linux. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Alpine_Linux&oldid=3444791"
*[GNAP]: Gentoo Network Appliance Project
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template