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

Linux

48023 readers
988 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
 

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
[–] [email protected] -2 points 8 months ago* (last edited 8 months ago) (2 children)

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

[–] [email protected] 4 points 8 months ago (2 children)

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

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 2 points 8 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
[–] [email protected] 0 points 8 months ago

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.

@[email protected]

[–] [email protected] 1 points 8 months ago

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