Hacker News new | ask | show | jobs
by lproven 1914 days ago
Endless is a rather interesting distro. It's aimed to be suitable for non-technical users on fairly low-end hardware, with an internet connection that might be intermittent at best.

Some salient but unusual features:

• A desktop that is GNOME adapted into a non-desktop metaphor, more like a smartphone: a full-screen app browser, and an app switcher that's loosely like the Windows taskbar.

• A read-only root filesystem, with no package manager.

• All apps are Flatpaks.

• OS upgrades are atomic, whole-system-at-once, like Android or iOS upgrades on a smartphone.

1 comments

> ...with no package manager.

What is the difference between a package manager and an App Store?

This seems like a very simple question and I am inclined to treat it as a trick one, but I will be trusting and try to answer it.

The difference is huge.

A package manager installs, removes, updates etc. components of the OS. It manipulates files in /bin, /sbin, /lib, /usr and so on.

In Endless, the root filesystem is read-only and immutable. It is not possible to modify any of the files provided with the OS in any way, including all of those paths above and others.

Flatpak apps are containerised and all of their components are within the app bundle, typically in `/var/lib/flatpak` I believe. (I am not a GNOME user and don't use Flatpak much, but I have a couple of Snap apps installed.)

Nothing goes anywhere else or is allowed to install dependencies etc.

Think of it like a Smartphone. Android and iOS are both *nix OSes. The entire OS is essentially a single image, kept in Flash, and booted into RAM each time you turn on. The user can't change it in any way. Apps are kept in a separate chunk of flash memory and they can't change the OS. OS updates are a single big file that updates the entire OS partition in one operation.

It's a little bit like booting a Live USB with a persistent storage file: nothing can change the SquashFS, but you can add your own files and have them survive a reboot.

Endless works the same way. It is comparable to Red Hat Atomic Workstation, Core OS, Chrome OS, and SUSE MicroOS.