RakuOS fixes the one thing that annoys me most about immutable Linux distros


RakuOS

Jack Wallen/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • RakuOS is a hybrid immutable/standard Linux distro
  • With RakuOS you get the best of both worlds with security and usability.
  • RakuOS can be downloaded and installed for free.

Immutable Linux is about as secure as an OS can get. By mounting certain directories as read-only, malicious code or bad actors cannot affect the data within. I could seriously place my full faith in immutable Linux and not worry about a thing.

Until I wanted to install an application using the distribution’s built-in package manager.

With immutable Linux distributions, software is typically installed via containers, such as Flatpak or Snap. Installation of apps is done this way because of the read-only nature of certain directories. Because of that, standard package managers cannot install the necessary files, so using the likes of apt, dnf, or pacman is a no-go.

Also: What is immutable Linux? Here’s why you’d run an immutable Linux distro

Does that mean you’re limited to the apps you have available on an immutable distribution? Somewhat. Don’t get me wrong, the average user won’t feel as if they’re missing out on anything because Flathub and Snapcraft have tons of apps.

But when I’m using an immutable distribution, and I want to install something like Ollama, I’m out of luck if I want to ensure I’m using the latest version of the app (I currently run Ollama 0.30.7 on my Pop!_OS desktop). I’ve attempted to install Ollama via Flatpak, and although the command completes, the app is nowhere to be found. I’ve tried several times, but the end result is a failure. However, running the command sudo dnf install ollama works just fine; it shouldn’t, but it does.

Why should the DNF command fail? Because RakuOS is immutable, installing via DNF shouldn’t be possible. That’s where RakuOS says, nay, nay. How does RakuOS pull this off? According to the official site, “RakuOS uses a persistent overlay system mounted directly on /usr. Your base system is always pristine — but you can install any native package you want, and it survives every system update.”

Also: How to run a Windows app on Linux with Wine

With this hybrid system, you get:

  • An immutable base system with instant bootc rollback.
  • Native packages that automatically persist across updates.
  • Allows installation via dnf, dnf5, or the RakuOS Software Center.
  • A pristine system reset with a single command (more on that in a bit).
  • Flatpak for sandboxed apps (heightened security) and native packages for everything else.

In other words, you get the best of both worlds.

My experience with RakuOS

RakuOS

The RakuOS desktop might not be the most elegant desktop on the market, but it’s still pretty special.

Jack Wallen/ZDNET

The thing I appreciated the most about RakuOS is that, while it had all of the underpinnings of an immutable distribution, it still felt like a traditional Linux OS. The only difference was that instead of the KDE Plasma Discover app store, there was the RakuOS Software app store. The good news is that the RakuOS Software app looked and behaved similarly to that of Discover.

RakuOS

The RakuOS App Store is quite user-friendly.

Jack Wallen/ZDNET

With RakuOS, I was able to install all of the software I normally would use via a combination of Flatpak and DNF. If I wanted to install an app with the added security of isolation, I used Flatpak; otherwise, I dove into DNF.

Also: 5 Linux distros that take a little work out of the box, but are so worth the effort

As far as performance is concerned, RakuOS uses the CachyOS kernel, so it’s built for speed. No matter what I threw at the desktop, it didn’t bat an eye. Even running a hefty Ollama query (writing a Python GUI app) didn’t slow the machine down.

RakuOS

It’s hard to beat the CachyOS kernel.

Jack Wallen/ZDNET

That CachyOS kernel is something special, and the RakuOS devs were smart to include it.

But then, my curiosity got the best of me, and I decided to try the “pristine reset” option to see how well it worked. After installing several apps and saving some files/data to my home directory, I scoured the RakuOS website for any mention of the actual command used for this, but found nothing.

Given how RakuOS creates the overlay in /usr, I thought, “What happens if I simply remove everything in /usr? Couldn’t hurt, right? I am running RakuOS as a virtual machine, so if it does FUBAR the system, I can spin up another VM without much trouble. 

Ergo, I issued the command:

sudo rm -rf /usr/

That was a bit nerve-racking.

A quick restart to see what the results were, only to find the restart failed. I forced the VM off and then restarted. The boot process took considerably longer than I would have expected, but then, given that I’d nuked the /usr directory, I’m thinking maybe RakuOS had to rebuild it. 

Also: I tried a Linux distro that promises free, built-in AI – and things got weird

Maybe?

I waited, and waited, and waited. 

No dice.

Once more unto the breach with a reboot, and the same issue persisted. Time to reinstall. This time around, I remembered that RakuOS was based on OSTree, so the command was simple:

sudo rpm-ostree reset

Even someone who’s used a piece of technology for decades can get tripped up now and then.

The second time around, everything went well, and I wound up with a pristine OS (after installation, use, and resetting with the proper command).

My final thought on RakuOS is this: I’m impressed. This Linux distribution gives users the best of both worlds: immutability with the ability to use default package managers. Although installation takes a bit longer than I’m used to, the end result is very much worth the time invested. 

If you’re looking for an OS that is equal parts secure and user-friendly, give RakuOS a try. You can download an ISO for the KDE Plasma, GNOME, or COSMIC versions, create a bootable USB drive, and install it.

If you’re already running a Fedora Atomic-based distro, you can reset with:

sudo rpm-ostree reset

And then you can rebase to RakuOS with one of the following commands:





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


The iPhone Shortcuts app reminds me of Minecraft. It might be relatively easy to jump into, but it offers nearly limitless potential, allowing you to build anything you want. The same holds true for the Shortcuts app, and that endless possibilities are what many iPhone users might find intimidating. But you don’t have to.

If you are new to iPhone shortcuts, think of them as little automated helpers. You can build them yourself or find ones that others have built and use them. And that’s the beauty of shortcuts. If you don’t want to get your hands dirty, you can find shortcuts others have created and tailor them to your needs. 

With that said, let’s check out my favorite shortcuts. These are not the best shortcuts on everyone’s list, but they are the ones I use daily to get things done faster and more efficiently.

App settings: stop digging through the settings app

Anyone who has spent more than five minutes hunting for an app’s permissions inside the Settings app knows how frustrating it can be. You have to open the Settings app, scroll all the way down, open the Apps section, scroll again to find your app, and only then can you enter its settings. 

This shortcut fixes that completely. It uses the Get Current App and Open URLs actions in the Shortcuts app to detect which app you are currently in and jump straight to its settings page. Once you set it up and add it to your Control Center, all you have to do is open the app, swipe down from the top, and tap the shortcut. 

It will automatically open the current app’s settings. It is genuinely one of the most practical shortcuts I have ever created, and you can download it using the link below. 

Get App settings shortcut

Apple Frames 4: make your screenshots look professional

If you ever share screenshots on social media, a blog post, or a presentation, this shortcut is for you. Apple Frames 4 is a free shortcut by Federico Viticci of MacStories, which can wrap your screenshots in a proper device frame.

The latest version is noticeably faster, supports all recent Apple devices, and even lets you choose frame colors and scale the images proportionally. What I love most about this shortcut is that it can take multiple screenshots as input and combine them in one image. 

All the images in this article have been created using the same shortcut. If you also take screenshots regularly, I can highly recommend this shortcut. I would also recommend you check out my favorite screenshot utility for Mac. It offers all the missing features of Mac’s built-in screenshot tool and then some. 

Get Apple Frames shortcut

Scan document: your pocket scanner is already in your hand

You don’t need a third-party app to scan documents on an iPhone. You don’t even need to open the Notes or Files app the usual way. With this shortcut, you can open the document scanner instantly and scan and save papers without any extra steps.

I have it in my Home Screen and use it whenever I need to quickly scan a receipt, a letter, or any paper document. It’s one of those shortcuts that sounds simple until you realize how much time it saves you every week.

Get Scan Documents shortcut

Resize & convert: resize images without downloading a third-party app

How many times have you shared a photo only to find out it was too large, or in the wrong format for where you needed it? Since the iPhone Photos app doesn’t let you resize an image or change its format, I found a simple shortcut to do it. 

The steps are pretty easy, too. You pick the image, set the size, and the shortcut handles the rest. I use this a lot when I need to send images for articles or posts that require specific dimensions. 

It handles a task I would otherwise have to do on my Mac or download a third-party app on my iPhone to complete. 

Get Resize & convert shortcut

Extract PDF pages: pull out only what you need

I deal with a lot of PDFs, and sometimes I need to extract a few pages to share or save. So I downloaded a shortcut that lets you select specific pages from a PDF and extract them into a new file.

It sounds like a small thing, but if you have ever had to send someone just two pages from a 40-page PDF, you know how handy this is. You don’t need to download any app, pay a subscription, or open your Mac. Your iPhone handles it in seconds.

Get Extract PDF shortcut

Clipboard history: because you always lose what you copied

This is one of the most underrated shortcuts on this list. While macOS has finally added a clipboard history feature with the macOS Tahoe update, the iPhone still doesn’t have a clipboard history. That means every time I copy something on my iPhone, it erases all the previously copied items. 

So I built a shortcut to work around it. Now, every time I copy something on my iPhone, it saves to a note, creating a running clipboard history I can refer back to whenever I need it. The only issue is that I have to run the shortcut manually for it to work. 

So that’s why I have added it to the Back Tap gesture (go to Settings → Accessibility → Touch → Back Tap) on my iPhone. Once I copy something I want to save, I simply tap the back of my iPhone three times to trigger the shortcut and save the copied item in a preassigned note. 

When you download the shortcut, make sure to edit it by tapping the three-dot menu and selecting the note you want to use as your clipboard history.

Get Clipboard History shortcut

Turn off mobile data when iPhone connects to Wi-Fi

To balance the manual activation of the last shortcut, I give you one that is pure automation. Once you set it up, you never have to think about it again. The shortcut uses the Shortcuts automation feature to detect when your iPhone connects to a Wi-Fi network and automatically turns off your mobile data.

I have also set up the companion automation that turns mobile data back on when you leave Wi-Fi. It saves battery life and prevents your phone from uselessly using mobile data when it doesn’t need to. Since this is an automation, there’s no way to share a downloadable link, but you can learn how to create this shortcut. The screenshot should give you the basics of how to do it.

My 7 favorite iPhone shortcuts

I know the Shortcuts app can feel intimidating at first, but most of these require very little setup, and the payoff is immediately obvious. Start with one that solves a problem you have right now, and before long, you will be building your own.

If you have an iPhone and are not using Shortcuts, you are missing out on one of the most powerful tools Apple has built. So, definitely give this a try, and your life will never be the same.



Source link