


























Follow ZDNET: Add us as a preferred source on Google.
I've used every conceivable Linux distribution, from the extremely lightweight to the overstuffed and bloated. With almost every distribution type, I can find a rock-solid use to make the most of what it offers.
Also: The best Linux laptops: Expert tested for students, hobbyists, and pros
Alpine Linux is no outlier. However, for the most part, I've used this lightweight, security-focused distribution for container deployments -- one of the most common use cases for Alpine Linux because its base image is incredibly small (between 2.67 and 5 MB - yes, megabytes). This gives Alpine Linux a minimal attack surface, which is great for containers.
But is Alpine Linux an option for the desktop? The answer to that is yes, but with a big honking asterisk.
Let me explain.
Alpine Linux is a very minimal distribution, which translates to, "It doesn't ship with a desktop environment or a lot of apps/tools you're accustomed to." In fact, it doesn't ship with sudo or even bash.
Consequently, it does take some work to make Alpine Linux a viable option for the desktop. But that doesn't preclude it from being an option, especially for those who value simplicity and security.
Also: Want to save your aging computer? Try these 5 Linux distributions
At the same time, getting Alpine Linux readied for desktop usage isn't exactly for the faint of heart. If you know what you're doing, you can have a solid desktop up and running in minutes. If you don't know what you're doing, it could take a while.
Is it time well spent? If you like a slight challenge and want to enjoy the end result of your efforts, the answer is yes. Alpine Linux as a desktop distribution is definitely worth the time spent.
Let me show you what that time involves.
The installation of Alpine Linux is a text-based affair, but it's not even remotely challenging (so long as you can answer a few simple questions).
The process includes the following:
Also: After 30 years with Linux, I gave Windows 11 a chance - and found 9 clear problems
After it reboots, log in as the standard user you created during installation.
Before installing KDE Plasma, there are a few things to take care of. First, you'll need to enable the community repository. To do this, install the nano text editor with:
doas apk add nano
Once that completes, install bash and sudo with:
doas apk add bash bash-completion sudo shadow
Reboot again.
Log back in as your standard user and then issue the command:
setup-desktop
Type plasma and hit Enter on your keyboard. This will walk through installing everything required for the KDE Plasma desktop.
Also: The most beautiful Linux distributions
When that completes, reboot again. After the reboot completes, you'll be greeted with the KDE Plasma login screen, where you can log in as your standard user and start using the desktop.
KDE Plasma certainly is a beauty.
The first thing you'll notice is how fast Alpine Linux performs. It's crazy fast. You might also notice that, even though you have a network connection, some apps don't recognize it. That's because the NetworkManager service isn't running. To start and enable that, issue the following commands:
doas rc-service networkmanager start
doas rc-update add networkmanager default
You should now be able to use everything as expected, even KDE Discover for installing applications (such as Flatpak).
I would highly recommend installing Flatpak, so you have more options.
That's a lot of hoops to jump through, yes, but the hoops aren't all that challenging -- so long as you don't mind typing some commands. The end result is a lightning-fast desktop that can serve you very well.
I would never recommend Alpine Linux as a desktop distribution for those with no Linux experience. But for those with even a modicum of familiarity with the open-source operating system, Alpine Linux could be a nice addition for personal use. On top of that, you'll learn a bit more about Linux along the way.
Also: I tried the latest MX Linux version on my PC, and it made the system look and feel like new
One last thing: Alpine Linux doesn't ship with a firewall (though when you install KDE Plasma, it adds a firewall GUI). You can install a firewall with a command like:
doas apk add ufw
Once you've installed the firewall, open the firewall GUI and enable it.
Have fun with Alpine Linux.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。