this post was submitted on 23 Apr 2024
67 points (89.4% liked)

Linux

45936 readers
1214 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've gathered that a lot of people in the nix space seem to dislike snaps but otherwise like Flatpaks, what seems to be the difference here?

Are Snaps just a lot slower than flatpaks or something? They're both a bit bloaty as far as I know but makes Canonicals attempt worse?

Personally I think for home users or niche there should be a snap less variant of this distribution with all the bells and whistles.

Sure it might be pointless, but you could argue that for dozens of other distros that take Debian, Fedora or Arch stuff and make it as their own variant, I.e MX Linux or Manjaro.

What are your thoughts?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 3 months ago (1 children)

I don't know why people keep saying that flatpaks don't support cli apps. They do. I know it's awkward to type out flatpak run io.github.zyedidia.micro or whatever every time you want to use a text editor, but aliases fix that pretty neatly, and that example wasn't hypothetical.

[–] [email protected] 13 points 3 months ago* (last edited 3 months ago) (1 children)

You don't even need to create aliases yourself. Flatpak creates wrapper scripts for every app that you install. Just symlink them into your PATH.

ln -s /var/lib/flatpak/exports/bin/org.example.CliTool ~/.local/bin/cli-tool

or if you are using a user remote

ln -s ~/.local/share/flatpak/exports/bin/org.example.CliTool ~/.local/bin/cli-tool

(Note: some lemmy clients render the the tilde in code blocks incorrectly)

[–] [email protected] 3 points 3 months ago

This is news to me! I'm honestly just paroting others with the no CLI support, I never did the homework. Shame on me I guess!