
ShaniOS is as lovely as it’s dependable.
Screenshot by Jack Wallen/ZDNET
Observe ZDNET: Add us as a preferred source on Google.
ZDNET’s key takeaways
- ShaniOS is an immutable Linux distribution.
- With a blue/inexperienced deployment, the OS won’t ever break.
- You possibly can obtain and use ShaniOS totally free.
Working system safety has at all times been a trademark of Linux. With the introduction of immutable distributions — CoreOS, launched in 2013, was among the many first — no different working system might come near the extent of safety Linux needed to supply.
I welcome any alternative to check a brand new immutable Linux distro. Over the weekend, I found ShaniOS.
Additionally: Immutable Linux delivers serious security – here are your 5 best options
ShaniOS is an Arch-based Linux distribution that’s immutable and consists of Flatpak integration. The important thing options of this new OS embody:
- Immutable core with blue-green deployment
- Flatpak utility administration
- Enhanced safety with AppArmor profiles, firewalled configurations, and full-disk encryption
- Efficiency optimizations similar to dynamic swap file creation and Nvidia GPU help
What’s blue-green deployment?
Utilizing Btrfs subvolumes, the system maintains two full system states — labeled “blue” and “inexperienced.” Just one state is energetic at any time, so atomic updates and rollbacks can happen with the best stage of reliability.
For instance, in the event you’re utilizing the blue setting, updates are utilized to the inexperienced setting after which examined. You possibly can then swap from the blue to the inexperienced setting throughout a reboot. In different phrases, you’ll at all times have a working occasion of your OS, with out fail.
Additionally: What is immutable Linux? Here’s why you’d run an immutable Linux distro
If one thing goes flawed with one setting, reboot and swap to the opposite.
Open a terminal and situation the command sudo shani-deploy and watch the magic occur. The command does the next:
- Downloads updates for the inactive setting.
- Applies the updates with out affecting the energetic setting.
- Configures the bootloader to make use of the up to date setting.
- Ensures prompt rollback functionality in case the replace doesn’t work correctly.
As a result of that is an immutable system that leverages the blue/inexperienced strategy, functions are managed in two methods:
- Flatpak for desktop apps
- Containers for improvement apps
Additionally: 7 Linux commands I can’t live without after 20 years in the terminal
I ran the sudo shani-deploy command, and it took a complete of seven minutes and 40 seconds. Please word that I’ve solely been testing the distribution for a couple of days, so there is not loads put in. Had I put in numerous functions and saved numerous knowledge, that point would almost certainly be significantly longer. Nevertheless, the command ran flawlessly, and I might swap from one setting to the opposite upon the subsequent reboot.
What ShaniOS is like
You possibly can obtain a model of ShaniOS with both GNOME or KDE Plasma. I went the KDE Plasma route and located the UI to be fairly beautiful. The builders have tweaked KDE Plasma in order that it appears distinctive however nonetheless features very equally to the default desktop setting.
Additionally: 5 Linux distros that take a little work out of the box, but are so worth the effort
You may discover the desktop menu within the prime left nook (versus the underside left), and the theme is good and glassy. The preinstalled utility record consists of Vivaldi, OnlyOffice, Warehouse (for Flatpak app administration), KolourPaint, Pods (container administration), and extra. Though it might not be an intensive record of preinstalled apps, you’ll be able to at all times launch KDE Plasma’s Uncover app and set up any further software program you want. As a result of Flatpak is baked into Uncover, you may discover tons of apps to put in.
There are tons of apps to put in on ShaniOS.
Screenshot by Jack Wallen/ZDNET
Outdoors of the placing KDE Plasma theming, one of many first issues that impressed me was how briskly ShaniOS carried out. I’ve used quite a few immutable Linux distributions earlier than, however I do not recall testing one which carried out in addition to this one.
I additionally examined the blue/inexperienced environments. Whereas utilizing the blue setting, I ran the sudo shani-deploy command. When the deploy command completed, I rebooted and chosen the inexperienced setting. Every part was flawless. I used to be even alerted to check the apps to make sure they work as anticipated — which they did.
Whereas working the inexperienced setting, I created and saved a file to the Paperwork listing. I then ran the shani-deploy command, solely to be alerted that there was a boot mismatch and that the system anticipated as well blue however discovered inexperienced was working.
The perfect distro for brand new customers
I then remembered that the OS alerted me to check functions to make sure they work, after which reboot to use the whole lot. I adopted the directions, and the modifications have been utilized to the blue setting, leading to the whole lot being precisely as anticipated.
Additionally: I install these 11 apps on every new Linux system, and you should, too – here’s why
This technique is basically spectacular. In truth, ShaniOS has me considering that immutable Linux distributions could be the perfect choice for brand new customers as a result of they’re so bulletproof. And with the blue/inexperienced deployment scheme, ShaniOS may properly be the very best of the very best.
I extremely advocate giving this immutable Linux distribution a attempt to seeing if it does not impress you as a lot because it did me. Seize both the GNOME or KDE Plasma version, set up it on a spare pc (or as a digital machine), and expertise this improbable working system.





