r/AlpineLinux • • Jul 29 '25

Gets Me Every Time

Post image
51 Upvotes

r/AlpineLinux • • May 18 '26

kernel upgrade complete

Post image
50 Upvotes

found good linux distro !!


r/AlpineLinux • • Sep 19 '25

today I proved alpine linux can be used as a desktop os

Thumbnail gallery
50 Upvotes

r/AlpineLinux • • Oct 31 '26

Got genuine Alpine Linux running on a Samsung Galaxy A21s using my custom uni-loader build!

Post image
48 Upvotes

Hey Reddit!

I wanted to share my recent progress: I’ve successfully managed to boot a genuine Alpine Linux kernel on a Samsung Galaxy A21s using my own custom build of uni-loader.

Current Status & Debugging (as seen in the photo):

The uni-loader initializes perfectly, and the Linux kernel successfully kicks in and starts scanning the internal partition blocks (mmcblk0pX).

Right now, it drops into an emergency shell because it's struggling to mount the Alpine rootfs. It's currently throwing Magic Mismatch and failed to recognize exfat type errors across the blocks while searching for the root filesystem.

Essentially, the kernel itself boots flawlessly, but I still need to fix the partition table mapping, format the target block correctly, or ensure the rootfs.tar.gz is properly placed so the init script can mount it.

Once the rootfs mount issue is resolved, I'll move on to fixing drivers and getting the rest of the hardware working. Let me know what you think, or if you have any questions about the uni-loader compilation process!

Device Specs & Details:

• Device: Samsung Galaxy A21s (SM-A217F) — 3GB RAM variant

• OS: Alpine Linux

• Boot Method: Custom-compiled uni-loader build

• Current State: Kernel boots successfully into initramfs / emergency shell; rootfs mounting is WIP.


r/AlpineLinux • • Sep 24 '26

LET'S GOOOOO

Post image
47 Upvotes

Finally after a long day i installed alpine linux , this is more experimental because i installed it on a usb but still..


r/AlpineLinux • • Sep 14 '26

Alpine Linux as a desktop systemafter about 6 months of use.

47 Upvotes

I had used Arch Linux for many years and 6 months ago I wanted to learn something different although I don't fit the profile of a distro-hopper. So I installed Alpine.

Although the installation of Alpine is easy, there are many steps to take to make it an all-round system. I started with XFCE, tried Plasma but ended up going back to XFCE.

On of the challenges of Alpine Linux is the Musl C library while a lot of packages are compiled with glibc. Musl brings a wonderful light system but with the limitations as mentioned. The easiest workaround are of course Flatpak apps but that's not a complete solution. I installed Gcompat for more compatibility.

I just saw this solution on a forum: https://github.com/sgerrand/alpine-pkg-glibc, which should be another compatibility layer. But I'm ok with the current setup.

It's a wonderful light an versatile setup and I can highly recommend this distribution.


r/AlpineLinux • • Apr 04 '26

Thank god for alpine

Post image
47 Upvotes

r/AlpineLinux • • 8d ago

GUI Installer for Alpine Desktop Released

Post image
44 Upvotes

https://github.com/netrunner01/alpine-desktop-setup

Supports install via WiFi

Includes a very basic package manager.

Alpine Desktop Setup

A graphical installer and three lightweight desktops for Alpine Linux 3.24 (x86_64). Built for computers with little RAM: old PCs, and repurposed or embedded machines whose RAM cannot be upgraded.

Boot the ISO, answer a few questions, and get a working desktop: network icon, sound, removable media, memory compression, Firefox and a small "Software and updates" window. Tested with 2 GiB of RAM.

[!IMPORTANT] On computers with 4 GB of RAM or less:

Without these two settings the browser may glitch or crash.

Why

I often install Alpine Linux on repurposed hardware and very low-RAM computers. I got tired of walking through the installer by hand, then running the desktop setup script, then doing a string of manual steps just to get sound and other basics installed and working. This does all of it in one pass.

The target is 2 GB of RAM on purpose. A lot of working hardware is thrown away because it cannot run a current desktop. With memory compression (zram) and swap, 2 GB is enough for a complete desktop and Firefox with a few tabs open, YouTube included. I want more people to reuse these machines and keep them out of e-waste and landfill.

It is a thin layer over Alpine's own tools (setup-alpine, setup-desktop, apk). It has no partitioning code and never replaces settings it does not own.

Status

Download the ISO from Releases, or build your own (below). Each release lists the SHA-256 of its ISO; compare it before use:

sha256sum alpine-desktop-3.24.4-x86_64.iso

The setup files on a released ISO are signed with this minisign public key:

RWTm2Oj1I9RnHv6ZT3Ltx1ofQ5OnZWttC6jEgknopyP3ITZhbe5sZMjd

Tested mostly in QEMU/KVM guests with 2 and 4 GiB RAM, UEFI and BIOS. All three desktops have had limited testing on real hardware; Wi-Fi was tested there with Openbox Lite. Secure Boot is untested. Back up first.

Maintenance

This is a personal project that I use myself, published as is. Do not expect frequent updates or bug fixes. Issues and comments are welcome, but with everything else I have going on I am unlikely to get to them in any reasonable time. If you need a fix, your best option is to fork it.

Desktops

ProfileIdle RAMLogin screenNotes
openboxabout 300 MiBLightDMOpenbox Lite: Openbox, tint2 panel, right-click menu
lxqtabout 375 MiBSDDMAlpine's setup-desktop lxqt, completed
xfceabout 425 MiBLightDMAlpine's setup-desktop xfce, completed

Idle RAM is memory in use after login, measured in virtual machines. All three come with Firefox.

Build an ISO

On Alpine 3.24 x86_64 (machine, VM or container), as an ordinary user:

sh build/make-iso.sh out

It names the packages to install if any are missing. The ISO is labeled UNOFFICIAL and signed with a key made for the build (out/keys); set SIGNING_KEY and SIGNING_PUBKEY to use your own minisign pair. Packages come from Alpine's repositories at build time. Alpine's four mkimage scripts are downloaded from a pinned commit and checked by SHA-256; they are not in this repository because Alpine states no license for them.

Install

Boot the ISO. A graphical installer asks for keyboard, time zone, network (wired or WPA2/WPA3 Wi-Fi), one disk to erase, a user and a desktop, then runs setup-alpine. The first start finishes the desktop and restarts once.

For dual boot, encryption or a text install, see INSTALL.md.

Use on an installed Alpine

Each profile has one entry point with three actions:

sh setup-xfce.sh inspect eth0     # read-only
sh setup-xfce.sh configure eth0   # as root; then reboot and log in
sh setup-xfce.sh verify eth0      # prints JSON

setup-lxqt.sh and setup-openbox.sh work the same way. eth0 is an example; use your interface name.

Exit codeMeaning
0pass
1fail
2usage error
42deferred: custom settings kept, or a reboot/login is still owed

configure always ends with 42 because a reboot is owed. verify never claims the desktop works; it reports what a script can check.

Network hand-over to NetworkManager is never run remotely. configure prints the one command to run at the computer's own console.

Develop

Python standard library and POSIX shell. No dependencies.

sh tests/check.sh                                     # everything CI runs
python3 -m unittest tests.test_network_module -v      # one test file

check.sh needs Linux (or WSL), python3 and shellcheck.

Layout

PathWhat
setup-*.sh, modules/code that runs on the Alpine machine
bootstrap.pysigned-delivery entry point; a template filled in at build time
iso/graphical installer and inputs for Alpine's mkimage
build/make-iso.sh and the release tools it uses
tests/unit tests; they never touch the host system

License

MIT, see LICENSE.


r/AlpineLinux • • Mar 16 '26

Hello from 2007

Post image
44 Upvotes

I now have a desire to install alpine as the main system


r/AlpineLinux • • May 03 '26

Alpine Linux running in Minecraft (oc2r)

Post image
42 Upvotes

Not a full system, only minirootfs. Networking also works.


r/AlpineLinux • • Feb 27 '26

Alpine linux as desktop os

42 Upvotes

I know its main use is in containers, and I'm aware that my options for apps are limited to the official repositories and Flatpak. However, it's a distro that I really liked the one time I used it. I really enjoyed using OpenRC, and APK felt very simple in the best way possible. But musl intimidates me a little. If I do end up using it, I'd go with XFCE since it's my favorite desktop environment.

I've only been using Linux in general for about 10 months, but I like to read up on things. I've already installed Alpine and have spent quite a bit of time on the wiki, at least the section on how to install a desktop.

I'd like to hear about your experiences using it as a desktop—both the good and the bad.


r/AlpineLinux • • Jan 30 '25

Alpine Linux joins Open Collective

Thumbnail alpinelinux.org
42 Upvotes

r/AlpineLinux • • 2d ago

What a beautiful view above the Alpines.

Thumbnail
gallery
41 Upvotes

oops


r/AlpineLinux • • 2d ago

MATE added- Alpine Desktop Setup 2.0

Thumbnail
gallery
40 Upvotes

A graphical installer and four desktops for Alpine Linux 3.24 (x86_64). Boot the ISO, answer a few questions and get a working desktop: network icon, sound, removable media, memory compression (zram), Firefox and a "Software and updates" window.

KDE Plasma, GNOME and Sway were considered and left out. Each has known, documented upstream problems on Alpine 3.24 that this project cannot fix: Plasma's login screen fails intermittently (Alpine aports issues 18168 and 18372), GNOME increasingly depends on systemd, which Alpine does not use, and Alpine's Sway setup has no login screen.

https://github.com/netrunner01/alpine-desktop-setup


r/AlpineLinux • • 25d ago

OpenSSH 10.6p2: Critical Password Bypass on Alpine/musl Linux

40 Upvotes

Here is what is actually going on under the hood with the new OpenSSH bypass on Alpine/musl systems:

  • The Logic Bug: When an account has no password set (like key-only users or default cloud accounts), Linux stores an asterisk (*) in /etc/shadow to block password logins.

  • The musl Quirk: When musl’s crypt() function receives an oversized password (over 256 bytes), it fails and returns a single *.

  • The Bypass: If an attacker sends a 257+ byte password to a passwordless account, OpenSSH checks the returned string against /etc/shadow. Both are *—the string comparison matches, and SSH grants access without needing the actual key or password.

  • Requirements to Reproduce:

    • System runs on musl libc without PAM (like Alpine Linux).

    • PasswordAuthentication is enabled.

    • There is an account with a disabled password (* in shadow) and at least one other account with a standard password hash.

  • The Fix in 10.6p2: OpenSSH now explicitly rejects stored hashes that are too short to be valid, stopping the * == * match entirely.


r/AlpineLinux • • Apr 30 '26

Alpine as a daily driver?

40 Upvotes

Hey everyone,

This might be one of the stupidest threads of all time, but I’ll do it anyway.
I recently stumbled upon Alpine and it’s literally magic. Right now I use Arch, but I thought of replacing at least one of my machines with Alpine.
Now, because Alpine is so lightweight and is not systemd and all of that, how does it compare to a machine daily driving Archlinux? I know it depends on the use cases of that machine, but I do a lot of things. I don’t game, that’s all, maybe just some Minecraft sometimes.

Hope this thread isn’t going to waste. Thank you all!


r/AlpineLinux • • Mar 05 '26

"OpenWrt has transitioned from the traditional opkg package manager to apk (Alpine Package Keeper). "

Thumbnail openwrt.org
40 Upvotes

r/AlpineLinux • • Nov 02 '21

Alpine Linux Cool Cat

Post image
40 Upvotes

r/AlpineLinux • • Sep 22 '26

Finally installed it

Thumbnail
gallery
39 Upvotes

I finally installed Alpine, ngl, it was kinda daunting because I did a complete manual install without using the "setup-*" at all. I'm really happy I got it to work, can't count the number of times I repartitioned my drive until I achieved a flawless install. Next is setting up dwl. I love minimal system.


r/AlpineLinux • • Jul 13 '26

a updaded version of my alpine linux oxwm rice based on catppuccin mocha

Post image
38 Upvotes

r/AlpineLinux • • Dec 19 '25

Alpine convert from slackware and a screenshot

Post image
38 Upvotes

Recent alpine/postmarketos convert from slackware. On the limited hardware I have available this distro has made it scream. Full graphics stack wifi, bluetooth, tor and i2p support. single digit cpu usage less 500MB of ram used and a draw of only 3.5W. screenshot of said machine. sway+foot attempting a multiplexor impression. featured, alpine email, btop, fastfetch, elinks with javascript and libcss enabled with http/s gopher, gemini, and spartan protocol support, slrn, weechat, i3status.


r/AlpineLinux • • Aug 28 '26

AlpineLinux XFCE4 Chroot in Plasma with CachyOS kernel using DroidSpaces

Thumbnail gallery
37 Upvotes

r/AlpineLinux • • Aug 23 '26

alpine

Thumbnail
gallery
37 Upvotes

r/AlpineLinux • • Jul 05 '25

I upgraded ~2k packages with only 2 problems (writeup)

Post image
37 Upvotes

NOTE: Bad English, expect mistakes

I've been Alpine desktop user for about a year now, starting from 3.21. Today's been a rough day, so I decided to do something interesting and share my experience a bit. What could possibly go wrong with updating full-blown amd64 desktop system from 3.21 to edge (3.23 alpha)? Let's see

Upgrading apk(8)

I was following instructions from Alpine wiki here. At the very start, apk-tools package didn't want to upgrade because of libapk's old version, so I upgraded that first

# apk add --upgrade libapk
# apk add --upgrade apk-tools

Upgrading the system

Next step is to upgrade all of the packages. apk(8) can do this for us. I have lots of packages in my system, so conflicts and other sorts of errors probably may occur during this process. Fortunately, apk-fix(8) provides user-friendly solution to easily overcome majority of them

# apk upgrade --available
# apk fix
# sync; reboot

Missing GLX extension

Now the interesting part. I was very surprised that my system booted, mounted root (I use btrfs, which is not as widely used as e.g. ext4 or xfs) and even started Xorg. I ran out of luck pretty quickly though. In no time I've noticed that windows no longer have rounded corners. The problem must be with picom(1), compton fork which I use as compositor

$ picom 
[ 07/04/25 16:55:19.451 c2_parse_target WARN ] Type specifier is deprecated. Type "c" specified on target "_GTK_FRAME_EXTENTS" will be ignored, you can remove it.
[ 07/04/25 16:55:19.481 glx_init ERROR ] No GLX extension.
Assertion failed: 0 && "Couldn't find current GLX or EGL context.\n" (../src/dispatch_common.c: epoxy_get_proc_address: 872)
[1]    1343 abort      picom

Ouch... it seems that some drivers are gone. After investigating /var/log/Xorg.0.log, I've noticed some interesting lines regarding GLX faults:

[  6235.055] (EE) AIGLX error: dlopen of /usr/lib/dri/iris_dri.so failed (Error loading shared library /usr/lib/dri/iris_dri.so: No such file or directory)
[  6235.055] (EE) AIGLX error: unable to load driver iris
[  6235.055] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (Error loading shared library /usr/lib/dri/swrast_dri.so: No such file or directory)
[  6235.055] (EE) AIGLX error: unable to load driver swrast
[  6235.055] (EE) GLX: could not load software renderer

Problem appears to be related to kernel module iris_dri.so, which is responsible for GLX extension and is (for whatever reason) now missing from my installation. Even though file is in fact provided via mesa-dri-gallium, Xorg searches for it in different location now. Quick soft link fixed the issue though

# ln -fs /usr/lib/xorg/modules/dri/iris_dri.so /usr/lib/dri/iris_dri.so
# kill -9 `pgrep Xorg` # restart X window system

Urxvt(1) SIGSEGV

$ urxvt
Perl API version v5.XX.X of urxvt does not match v5.XX.X at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
urxvt: unable to initialize perl-interpreter, continuing without.
[1]    9767 segmentation fault (core dumped)  urxvt

Well, not quite. gdb(1) shows that root cause of segfault is actually libperl. Answer on this thread suggests to see if problem is related to .X{resources,defaults} misconfiguration. Urxvt works like a charm without these, but even single one perfectly correct line in .Xdefaults causes it to fail. I'd tried to downgrade perl via installing it from 3.21 mirror, but that didn't solve an issue

So I've manually downloaded rxvt-unicode-9.31.tar.bz2 from vendor's website, configured it with:

./configure \
  --enable-everything \
  --prefix=/usr/local \
  CC=gcc CFLAGS='-ggdb' CXXFLAGS='-ggdb'

and built it myself. Added debugging symbols as well, just in case stuff is still broken. After a while I got it working with my current .X* files and that's awesome. No patches, no code modification, urxvt runs as is. I stripped debugging symbols from installed executables once they are not needed anymore

Other stuff

Nothing else is broken after upgrade, believe it or not. alsa, pulseaudio, wine, small and huge X-based apps. The only thing I did is downgraded GIMP to 2.0 because I'm too lazy to move my configuration, layout and themes over to 3.0 for now. Ghidra (RE-framework) needs some extra configuration work, but that's about it

$ cat /etc/alpine-release
3.23.0_alpha20250612

Afterword

After all, it's Linux — of course things will break, we should expect things to unpredictably break. But it could be much-much worse than that, it was pretty smooth experience to be honest. A bit of tweaking, a bit of work here and there, eventually stuff works like a charm

The more I use Alpine, the more I appreciate the work of maintainers. Man, upgrading over 2k packages with only two small problems is... something