this post was submitted on 10 May 2024
520 points (98.0% liked)

Linux

48328 readers
636 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
you are viewing a single comment's thread
view the rest of the comments
[–] moog@lemm.ee 20 points 6 months ago (9 children)

Glibc is the gnu c library. You wouldn't just download that from apt. I'm surprised your Linux distro doesn't already have that installed.

[–] MangoPenguin@lemmy.blahaj.zone 7 points 6 months ago (6 children)

It's definitely a big learning curve with how complex installing things on linux is haha, I'm still used to windows just open the exe installer and that's it.

[–] moog@lemm.ee 7 points 6 months ago* (last edited 6 months ago) (5 children)

Yeah I hear that. I will say aptitude made my life a lot easier in terms of installing things with its recommended fixes. Also good software documentation should have a "Getting Started" section that gives you step by step instructions for each OS/Distro of how to install it. If it doesn't... Well maybe that software isn't worth installing anyway 🤷‍♂️

[–] MangoPenguin@lemmy.blahaj.zone 5 points 6 months ago* (last edited 6 months ago) (3 children)

I mean there's that, but it's a lot of work for a dev too.

I would rather Linux just be able to detect what's missing and install it for me. In the case of a lot of missing components, what it says is missing will be named completely different from the package you need to install which makes it really hard.

It was always nice with windows installers because they would come with the needed components, or windows would just prompt to install them automatically.

I guess that's essentially what Flatpak solves!

[–] moog@lemm.ee 3 points 6 months ago

That's what aptitude does. It says "these things are dependencies that are missing. Do you want to install them?" And you can say yes, no, or ask it to try to find a different fix. And idk what you mean by that's a lot of work. If a dev can't be bothered to tell people how to install their program then idk how they expect people to use their software.

[–] Shareni@programming.dev 3 points 6 months ago* (last edited 6 months ago)

I would rather Linux just be able to detect what's missing and install it for me. In the case of a lot of missing components, what it says is missing will be named completely different from the package you need to install which makes it really hard.

That does happen, but Linux doesn't have anything to do with installing packages, your package manager does. If this package was installed through apt for example, it would also download all of the dependencies. But this package is using a makefile to build and install, therefore it has nothing to do with your package manager.

Tldr: use the package manager, and don't use DIY packages if you don't want to DIY

Additional package managers like flatpak and nix solve different issues:

  • dependency mismatch: let's say libreoffice and this package require a different version of glibc -> flatpak downloads both versions and symlinks them in a different location in order for each package to have the correct version while not impacting your system and the glibc your DE is using

  • newer packages: Debian freezes packages for 2+ years, flatpak gives you a fresh version

  • easier packaging for developers: you can package for flatpak instead of having to maintain packages for every popular package manager and distro

[–] Successful_Try543@feddit.de 2 points 6 months ago* (last edited 6 months ago) (1 children)

There are two specific problems I see here for the mentioned binaries.

  1. The software is packaged as a generic archive, no format like rpm or deb the system package manager could/does handle. Thus, the package manager of your system does neither know that you've installed this binary nor what it depends on. The developer could have at least mentioned on which exact system the Linux binaries are supposed to work, e.g. Ubuntu 22.04, so that the user knows, that they might have issues running it on a different system.
  2. The developer could have built and packed it in a way that it can be installed by the package manager of a specific distribution. Launchpad or OBS are made for this purpose. The other option, wrapping it as a flatpak, works too, but may bloat the system of the user as different versions of the same libraries are installed (system generic + flatpak version).

Nonetheless, as a Linux user, you are encouraged to build directly from source.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 6 months ago

Nonetheless, as a Linux user, you are encouraged to build directly from source.

Yeah screw that lol, I want my OS to just work and be easy to use with minimal fuss.

load more comments (1 replies)
load more comments (1 replies)
load more comments (3 replies)