173
submitted 9 months ago by 0485919158191@lemmy.world to c/linux@lemmy.ml

Basically title.

I’m wondering if a package manager like flatpak comes with any drawback or negatives. Since it just works on basically any distro. Why isn’t this just the default? It seems very convenient.

you are viewing a single comment's thread
view the rest of the comments
[-] lemmyng@lemmy.ca 6 points 9 months ago

The biggest downside is that it's only for distributing applications with a graphical user interface. Command line utilities still need another method of distribution.

[-] 0485919158191@lemmy.world 0 points 9 months ago

That’s a good point!

[-] aberrate_junior_beatnik@midwest.social -2 points 9 months ago* (last edited 9 months ago)

I keep seeing this criticism, but flatpak provides a run command on its cli that works just fine. It is a little clunky though.

[-] jerrythegenius@lemmy.world 4 points 9 months ago

Clunky as in flatpak run io.neovim.nvim instead of just nvim

[-] Plopp@lemmy.world 1 points 9 months ago
[-] oldfart@lemm.ee 2 points 9 months ago

I don't need to do it with native-installed programs. And they are properly integrated with the OS, if you install them:

  1. You get a menu entry in gui
  2. You get a binary or a wrapper in /usr/bin

Yep. But,

sudo tee /usr/local/bin/nvim <<EOF
#!/bin/sh
flatpak run io.neovim.nvim "$@"
EOF
chmod +x /usr/local/bin/nvim

(I haven't tested this, that I use similar code for a different program)

It sure would be nice if flatpak bundled some functionality to do this for you, though.

@oldfart@lemm.ee

[-] oldfart@lemm.ee 1 points 9 months ago

There is no .desktop menu entry and i need to remember a lengthy fqdn which does not autocomplete, great ui

this post was submitted on 17 Feb 2024
173 points (93.9% liked)

Linux

48376 readers
1395 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