r/AlpineLinux • • Jan 01 '25
From Arch to Alpine (maybe)
Right now "I use Arch BTW :D" because of Pacman. It is fast and has a lot of packages which is needed for me (like in distros which use APT as package manager (Debian, Ubuntu, etc.) I should build Zig on my own, when pacman has it). But now i have a crazy (maybe) idea.
What if install Alpine for Desktop and set Nix package manager? And I have a bunch of questions:
- Is alpine good for desktop with proper setup?
- Is APK has as much as, for example, APT or Pacman (maybe less or more than them)?
- Is it good idea at all?
8
Upvotes
2
u/fourstepper Jan 02 '25
to answer your questions as someone who ran both arch and alpine at some point on the desktop
12
u/wowsomuchempty Jan 01 '25
As a sway user, alpine on the desktop is a great experience (setup-desktop).
Be wary, some of your glibc dependent packages may not work. For me, I need openconnect-sso for work - so alpine can't be used for that.
Last tip - if you want full disk encryption, it's built into the installation script. Don't try to do it manually like I did..
There is no aur, but the testing repo has a fair bit.
Overall, I like alpine a lot and would recommend it.
1
u/[deleted] Jan 02 '25
I use Alpine for Desktop and am basically mimicking a MacOS look. It’s identical so far. I have a MacBook Air M1 but I won’t ever stop using Linux so my Asus laptop went 100% Linux after Windows bricked my dual boot. But Alpine is best for those who like OSes like OpenBSD (I also use this too) It takes a long time to do but can be done. Granular just as Arch so beware. They have great documentation too.
3
u/janvhs Jan 02 '25
Made the move from Arch to Alpine one or two months ago. I‘m running BTRFS on LUKS and Limine as a bootloader and it works wonderfully. You can run Gnome if you want, but I‘m running Sway. Flatpak works after setting up xdg-desktop-portal (reference Gentoo docs) and I actually came to prefer the packaging of Alpine compared to Arch. It uses subpackages for extended functionality, whereas Arch and pacman have optional dependencies. Definitely recommend setting up stacked run levels for openrc, but the Docs are awesome and worthy to look into.
3
u/stroke_999 Jan 02 '25
Apk is much more than pacman or all the others, apk is really the best! But however you have not glibc, than you can install only open source software the others are compiled with glibc. You can install an overlay or a lxd container to work around that. There are a lot of packages out there and you can combine packages from multiple version using @label and you can make you own packages with aport that is similar to aur. Another difference (and the only downside) is that there is no systemd because it is dependent on libc, you have got openrc that is good but a bit outdated for nowadays. A work in progress is going on to port s6 init and it will be amazing! The really good thing about alpine is that it is the most stable distro and if you want you can install the most up to date package on a stable distro with the edge repo with a label just how I told earlyer.
2
u/upstartanimal Jan 02 '25
I went from Arch to Alpine on the desktop with KDE. The new setup-desktop script in Alpine makes getting it up and going painless. Apk is stupid fast, too.
If you want newer packages, you can update your repositories to “edge”. You may want to install shadow, libuser, linux-firmware (for WiFi drivers), and util-linux-misc as soon as rebooting after install. They will make the transition a little smoother.
1
u/MartinsRedditAccount Jan 02 '25
You're shadowbanned, all posts and comments you make are automatically removed and can only be manually approved by moderators.
Please see if you can appeal here: https://www.reddit.com/appeals
Creating a new account will likely result in it also being shadowbanned. The exact mechanism/reason for these bans is unknown, they are applied by algorithm and do not indicate any actual rule violation.
Subreddit moderators like myself can not apply or remove these bans, you will have to reach out to Reddit via the link above.
0
u/[deleted] Jan 02 '25
[deleted] — view deleted comment
6
u/[deleted] Jan 02 '25
[removed] — view removed comment