r/AlpineLinux • u/No-Interaction-5779 • Apr 19 '26
Hey there
So im currently facing an issue which is I can’t use the laptop’s keyboard or even the mouse . If anyone knows the solution please let me know
r/AlpineLinux • u/No-Interaction-5779 • Apr 19 '26
So im currently facing an issue which is I can’t use the laptop’s keyboard or even the mouse . If anyone knows the solution please let me know
r/AlpineLinux • u/SuccessfulRiver1850 • Feb 20 '26
Feel Free to out your opinions about Alpine Linux in here!
r/AlpineLinux • u/Ko_deZ • Aug 21 '25
We would like to use Alpine as the base image for some containers we are setting up. Due to security constraints (national ones) we cannot allow access to our systems from the outside. That excludes GPL3 stuff as the license requires it to be possible for a user to upgrade that library.
We do have some python that we need to run, but the Alpine python package requires gdbm, which is GPL3. I understand that python does not require gdbm, but will use it if available.
Are there variants we can choose that avoids these license issues?
r/AlpineLinux • u/TOTLL • May 19 '25
English
Hi r/AlpineLinux! I’m a Linux beginner with zero programming knowledge, but I’m a huge fan of Alpine’s lightweight (16MB install size) and minimalist design. Using AI (Grok 3), I ported a Hysteria 2 one-click install script to Alpine Linux in just 3 hours! My project optimizes for low-memory devices (15-20MB usage) and works seamlessly with apk and BusyBox. Here’s my story, the project details, and a call for your feedback to make it better! 😄
中文
大家好,r/AlpineLinux!我是 Linux 新手,完全不懂编程,但超爱 Alpine 的轻量(16MB 安装大小)和极简设计。借助 AI(Grok 3),我在 3 小时 内把 Hysteria 2 一键安装脚本移植到 Alpine Linux!我的项目针对低内存设备优化(15-20MB 占用),完美适配 apk 和 BusyBox。以下是我的经历、项目详情,以及对社区反馈的期待!😄
English
I’m not a programmer—just someone who knows basic Linux commands like chmod, curl, and cat. I love Alpine Linux because it’s super lightweight (~16MB) and perfect for my low-resource VPS. I wanted to run Hysteria 2 (a fast proxy tool) on Alpine, but the original script didn’t work due to systemd and package manager issues. With AI’s help, I turned it into an Alpine-compatible script in 3 hours! This felt like a miracle, as I learned a mid-level programmer might need ~40 minutes, and without AI, it could take ~22 hours!
中文
我不是程序员,只会基本的 Linux 命令,比如 chmod、curl、cat。我爱 Alpine Linux 因为它超轻量(~16MB),完美适合我的低资源 VPS。我想在 Alpine 上跑 Hysteria 2(一个高速代理工具),但原脚本因 systemd 和包管理器问题无法运行。在 AI 的帮助下,我在 3 小时 内把它改成 Alpine 兼容的脚本!这感觉像奇迹,因为我了解到中级程序员可能需 ~40 分钟,没 AI 的话得 ~22 小时!
English
My script is a one-click installer for Hysteria 2 on Alpine Linux (tested on 3.21). It’s based on MisakaNo’s script but tailored for Alpine’s apk, BusyBox, and low-memory environments. Here’s what it does:
Auto-installs dependencies: Uses apk to install bash, curl, wget, openssl, iptables, ip6tables. Handles qrencode as optional to avoid crashes.
Low memory usage: Optimized QUIC settings (~15-20MB), ideal for 128MB VPS or containers.
BusyBox compatibility: Replaces ps -p with ps | grep for Alpine’s minimal tools.
Dynamic repository setup: Adds main and community repos (e.g., https://dl-cdn.alpinelinux.org/alpine/v3.21/community).
Error handling: If qrencode fails, it warns but continues, ensuring core functionality.
Repo: https://github.com/MEILOI/HYTWOALPINE
Install Command:
curl -o hysteria.sh -fsSL https://raw.githubusercontent.com/MEILOI/HYTWOALPINE/main/hysteria.sh && chmod +x hysteria.sh && ./hysteria.sh中文
我的脚本是为 Alpine Linux(测试于 3.21)打造的 Hysteria 2 一键安装工具,基于 MisakaNo 的脚本,但专为 Alpine 的 apk、BusyBox 和低内存环境优化。功能包括:
自动安装依赖:用 apk 安装 bash、curl、wget、openssl、iptables、ip6tables,qrencode 设为可选,避免崩溃。
低内存占用:优化 QUIC 参数(~15-20MB),适合 128MB VPS 或容器。
BusyBox 兼容:用 ps | grep 替换 ps -p,适配 Alpine 精简工具。
动态仓库配置:添加 main 和 community 仓库(如 https://dl-cdn.alpinelinux.org/alpine/v3.21/community)。
错误处理:qrencode 失败时仅警告,继续保证核心功能。
代码仓库:https://github.com/MEILOI/HYTWOALPINE
安装命令:
curl -o hysteria.sh -fsSL https://raw.githubusercontent.com/MEILOI/HYTWOALPINE/main/hysteria.sh && chmod +x hysteria.sh && ./hysteria.shEnglish
The biggest hurdle was qrencode failing to install (ERROR: unable to select packages: qrencode (no such package)). The community repo was configured, but the mirror (dl-cdn.alpinelinux.org) seemed unstable. AI suggested making qrencode optional and switching to mirrors.tuna.tsinghua.edu.cn, which worked for some tests. I’d love community input on reliable mirrors or qrencode fixes!
Workaround:
sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
apk update
apk add --no-cache qrencode中文
最大的挑战是 qrencode 安装失败(ERROR: unable to select packages: qrencode (no such package))。已配置 community 仓库,但镜像(dl-cdn.alpinelinux.org)似乎不稳定。AI 建议将 qrencode 设为可选,并切换到 mirrors.tuna.tsinghua.edu.cn,部分测试成功。希望社区分享可靠镜像或 qrencode 修复建议!
解决方法:
sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
apk update
apk add --no-cache qrencodeEnglish
Alpine’s 16MB install size and Docker’s ~5MB image make it a game-changer for containers, IoT, and low-resource VPS. I believe its minimalist design is the future of Linux! My script aligns with this by keeping Hysteria 2 lean (15-20MB). I want to contribute more to Alpine’s ecosystem, starting with this script.
中文
Alpine 的 16MB 安装大小和 Docker 的 ~5MB 镜像让它在容器、物联网和低资源 VPS 中大放异彩。我相信它的极简设计是 Linux 的未来!我的脚本保持 Hysteria 2 轻量(15-20MB),与此契合。我想为 Alpine 生态贡献更多,从这个脚本开始。
English
As a non-programmer, I’m amazed I pulled this off with AI! 😄 I’d love your thoughts:
Test the script: Try it on your Alpine setup and share results.
Fix qrencode: Any tips on stable mirrors or repository issues?
Improve the script: Ideas for v1.0.5? (e.g., auto-mirror switching, arm64 support)
Alpine tips: How can I contribute more as a Linux newbie?
Check it out: https://github.com/MEILOI/HYTWOALPINE
Thanks for your support, and let’s make Alpine even better! 🏔️
中文
作为一个非程序员,我惊叹自己用 AI 做到了!😄 期待大家的意见:
测试脚本:在你的 Alpine 系统上试试,分享结果。
修复 qrencode:有无稳定镜像或仓库问题的建议?
改进脚本:v1.0.5 的想法?(如自动切换镜像、支持 arm64)
Alpine 建议:Linux 新手如何贡献更多?
感谢支持,一起让 Alpine 更棒!🏔️
r/AlpineLinux • u/ehraja • Nov 23 '25
Free software is software you can use, share, modify and redistribute.
Are there documentations showing how to do fully free software installations of alpine? Also for arm free software alpine installations? Thank you.
r/AlpineLinux • u/pdp10 • Mar 09 '23
r/AlpineLinux • u/Able-Farm6295 • Oct 01 '26
I want to try Alpine Linux, but the installation process looks a bit intimidating.
Is there a simple/easy way to install it, especially for someone who’s not that familiar with Alpine yet?
r/AlpineLinux • u/73nda • Aug 12 '26
I have some alpine boxes and never seen any of this tiny cloud stuff. I use the extended iso and uploaded that to my vps provider. It overwrote my password and keys and had to redo somethings. My question is what or who put the tiny cloud there and how. Anyway now i restored access and removed those packages but ive not seen this before. The vps says they didnt do it but im just curious.
r/AlpineLinux • u/Info_sucker • Oct 18 '25
So I compiled a basic C program with clang, it compiled without any problems, I tried to execute it and it gave the error "Unexpected (", while executing after compiling from gcc gives "EOF backquote substitution" error, both cases are errors with execution, not with compilation (and yeah I did give the file executable permission), is it because of glibc or something, I have musl-dev installed but haven't done any config with the gcc compiler, or is it something entirely else.
r/AlpineLinux • u/unix21311 • Jul 20 '23
Kinda dumb question here but I can see there is a package: https://pkgs.alpinelinux.org/package/edge/community/x86/pacman
called pacman, so I was wondering if it is possible to use pacman as the primary package manager over something like apk and it fetches stuff from the alpine repository?
r/AlpineLinux • u/smokey-burns1176 • Mar 24 '23
Hi, I want to set up a small SBC such as a RaspberryPi as a secure web terminal, accessed through VNC or some other remote access tool, it needs to run a hardened browser like what Kommodo offer and should support Tor, I2P, Freenet, crypto wallets, web3, and other security/privacy tools.
I need to be able to preload the system with all the necessary software as the end user won't be expected to install anything, nor should they, as the purpose of this project is to lock the system down to the point that the user installing malware is practically impossible without them doing something extremely stupid.
It is basically a "hardware browser" that fits in your pocket and isolates your PC or phone from your sensetive online accounts such as banks, crypto exchanges, email etc. Probably good for YouTube channels too...
After looking at a few distros online this one seems like a solid choice, what do you think, is this the distro for me?
Thanks.
r/AlpineLinux • u/EckisWelt • Sep 05 '24
Hi
I really love Alpine Linux for its slimness. It works fine out of the box with minimal installation size.
The downside is, that it is shown in Unifi always offline. Except for a short ping every 12 hours.
I tried to set the following without success:
net.ipv4.tcp_keepalive_time=300
net.ipv4.tcp_keepalive_intvl=75
net.ipv4.tcp_keepalive_probes=9
Does anybody now which package needs to get installed to show it online in Unifi?
r/AlpineLinux • u/[deleted] • Apr 24 '21
As said in the title
r/AlpineLinux • u/causticstrafe • Jul 16 '22
By any chance, is there something built into Alpine that specifically prevents unofficial kernels from booting? If so, how do I turn it off?
Maybe all of the kernels I'm trying to get working just all simultaneously suffer random flaws, but right now I'm eyeing out the common denominator here. Just a sanity check, if you will.
r/AlpineLinux • u/[deleted] • Jul 30 '23
Hi, does anyone have a Dockerfile setup for a LAMP server including xdebug? I could also swap out MySQL for SQLite.
Thanks.
r/AlpineLinux • u/TEMPACC200000 • May 28 '23
What would be required to package Librewolf for Alpine? Fed up with the million network requests firefox makes to Mozilla's servers. A librewolf package in aports (instead of a flatpak) would be blessing.
r/AlpineLinux • u/Far_Finding9749 • Sep 18 '22
I installed dbeaver but it turns out it doesn't work with alpine linux. Here
So can anyone tell me alternative for dbeaver that works with alpine. And im using mariadb
r/AlpineLinux • u/JG_2006_C • Oct 11 '22
I Want to install alpine on a old laptop for the fun of it .Now i cant do anything and half the keyboard doesn’t work.
r/AlpineLinux • u/[deleted] • Sep 22 '22
Is there any way to prevent users from using the su command within /etc/doas.d/doas.conf?
r/AlpineLinux • u/_meow11 • Jan 08 '26
I don't want to retype the password 100 times an hour while configuring my system!
r/AlpineLinux • u/Nocash- • Oct 19 '26
so i just installed alpine and without sway it used 400 mb ram,people are telling me 600 is high for alpine so is that normal?
r/AlpineLinux • u/AsEyeAm • Apr 27 '26
r/AlpineLinux • u/asdqascawd • Oct 25 '26
How can i right encrypt with cryptsetup diskless Alpine with persistence?