Movatterモバイル変換


[0]ホーム

URL:


Sign in / up
The Register

OSes

This article is more than1 year old

Fancy climbing the peaks of Alpine Linux? 3.20 is out

Tiny, powerful, uncluttered: not easy, but a lot to like

iconLiam Proven
Wed 29 May 2024 //10:32 UTC

Alpine Linux 3.20.0 is out, with initial support for a whole new CPU architecture: RISC-V.

It alsoincludes KDE Plasma 6 and GNOME 46, and due toRedis changing its license, Alpine has thenew Valkey key-value database in its place.

Alpine's former default Xfce desktop, showing enviably svelte vital statistics: it uses 1.1GB of disk, as little as most distros use RAM.

Alpine's former default Xfce desktop, showing enviably svelte vital statistics: it uses 1.1GB of disk, as little as most distros use RAM - click to enlarge

TheRegister has looked at several releases of Alpine in recent years: in 2021, when itdropped MIPS64 support; then, more recently, we reviewedversion 3.16 in 2022, andversion 3.18 last year. That release resolved a longstanding issue by adding support for DNS over TCP.

With the latest release, the distro supports eight different architectures: IBM Z mainframes and POWER servers (the latter in 64-bit little-endian form), 64-bit bit RISC-V, both 32-bit and 64-bit x86, and three forms ofArm hardware: Armhf, ARMv7, and Aarch64 (which between cover every Raspberry Pi from the Pi Zero and 1 up to the Pi 5, along with multiple other Arm single board computers.)

Alpine is a lightweight, minimalist distro, but an unusually flexible one. It supports three differentinstallation types. InDiskless Mode, it loads into and runs entirely from RAM. If you want to add additional software or have changes persist across reboots, you must back them up to the boot media with theAlpine local backup command,lbu. InData Disk Mode, it still runs from RAM, but it mounts a swap partition and the/var directory tree from partitions on a fixed disk. That makes it easier to have system state persist across reboots, and use configurations that don't fit entirely into memory. Finally,System Disk Mode is a traditional installation to disk: by default, it expects to take over the entire drive, but with afew extra steps you can do custom partitions ordual boot Alpine with other OSes.

There are quite a few minimalist distros out there, such asTiny Core Linux which we looked at a few months ago. Alpine is rather more flexible: it can happily run on a router or some other embedded device, across multiple platforms, booting off a memory stick or card. Indeed, it has a meta-distro of its own in the form ofpostmarketOS for end-of-life smartphones, whichrecently adopted systemd to make it easier to support modern fondleslab GUIs.

To keep Alpine's size and resource usage down, it replaces a bunch of conventional tools from more mainstream heavyweight distros. It uses theOpenRC init system, theMusl C library instead of GNU libc, theSYSLINUX bootloader more commonly seen on live media, andBusyBox replaces the shell and multiple standard core tools and utilities.

Even so, Alpine is perfectly capable of working as a full desktop distro, and recent releases include someuseful scripts to simplify installing a desktop:setup-desktop will install a complete desktop from you, from a short list:gnome,plasma,xfce,mate orsway.Other environments are available, and if you plan to install your own,setup-xorg-base configures the basics of a GUI.

You don't need to use one of the desktops from the script's list: LXQt 1.4 isn't the latest version, but it uses even less RAM than Xfce.

You don't need to use one of the desktops from the script's list: LXQt 1.4 isn't the latest version, but it uses even less RAM than Xfce - click to enlarge

Because so many typical default components have been replaced, in some ways Alpine doesn't feel entirely like a Linux distro any more. TheReg FOSS desk finds he has to look stuff up so often that it's more like using a new and unfamiliar BSD. This is no bad thing: in our book, challenging assumptions is a desirable attribute. A bug in Alpine 3.18's kernel 6.1 that prevented it from using all the RAM in our geriatric Vaio P is now resolved in the newer LTS kernel. In the interim, we've triedantiX Linux andQ4OS with Trinity on this sub-netbook, but both felt bloated and sluggish by comparison.

It's been a pleasure to return to the lean, mean Alpine Linux. In terms of how many manual steps you must take to get a full desktop up and running, it's akin to Arch Linux, and that's good: it's every bit as educational. However, the result is much slimmer and lighter: for example, there's no systemd. Also unlike Arch, there's an official, fully supported x86-32 edition, where its lightness really counts. Once fully installed, it has as few background processes running as OpenBSD – but with many more device drivers available, and more flexibility in general. It's worth a look. ®


More about

More like these

More about


COMMENTS

More about

More like these

TIP US OFF

Send us news


Other stories you might like

Mobian makes Debian's latest 'Trixie' release pocket-sized

Another phone Linux? The Reg attempts to disentangle the options
OSes21 Oct 2025 |30

Zorin OS 18 beta makes Linux look like anything but Linux

Windows, macOS, Cinnamon, even iPadOS – all just a layout switch away
OSes24 Sep 2025 |67

NordVPN open sources its Linux GUI client under GPLv3

Joins its command-line client from a couple of years ago
Networks16 Oct 2025 |11

What exactly makes an AI PC fit for the enterprise?

Do TOPS trump everything else?
Sponsored Feature

Raspberry Pi OS, LMDE, Peppermint OS join the Debian 13 club

Downstream Linux projects line up behind the latest release
OSes15 Oct 2025 |21

Framework flame war erupts over support of politically polarizing Linux projects

Laptop maker's apolitical endorsement of politically contentious projects meets resistance
OSes14 Oct 2025 |43

Librephone battles the proprietary binary blob

Free Software Foundation project aims to reverse-engineer non-freedom respecting firmware
OSes15 Oct 2025 |37

MX Linux 25 reaches beta testing – complete with systemd

Fancy a taste? The version based on Debian 'Trixie' is nearly ready, but not all the changes may be entirely welcome
OSes23 Sep 2025 |17

Bcachefs goes DKMS after Torvalds' kernel banishment

Performance of new version mostly good, but future uncertain
OSes25 Sep 2025 |22

Linux's love-to-hate projects drop fresh versions: systemd 258 and GNOME 49

Init system update arrives behind schedule while desktop overhaul adds app and HDR polish
OSes23 Sep 2025 |61

How and why Linux has thrived after three decades in Kernelland

Open Source Summit 'Just a hobby, won't be big and professional like GNU...'
Bootnotes18 Sep 2025 |69

Linux has the lineage to out-evolve the deadliest of cyber threats, given the right push

Opinion Darwin would understand microkernels. We need microkernels that understand Darwin.
OSes22 Sep 2025 |26

[8]ページ先頭

©2009-2026 Movatter.jp