457
submitted 6 months ago by sabreW4K3@lazysoci.al to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] SSUPII@sopuli.xyz 6 points 6 months ago

To allow modern windows to run legacy applications a lot of caution is given to updating libraries or fully new ones are given while keeping the older ones. Also static builds are more common on Windows, or come bundled with a copy of the required libraries as .dll files.

  • Let's say an application requires libexample1. It works, the library is available too.
  • Eventually the application gets abandoned, but still works.
  • But eventually a libexample2 gets released that drastically changes how the library works. The program doesn't work on this version. The older release of the library then get's abandoned.
  • Distributions now start removing the package from the repositories as the older library is slowly requiring no longer supported releases of its own dependency.
  • Now application is borked

Aplication could have still worked if it came bundled with its own copy of libexample1 and of its dependencies, or was statically linked.

An example of this is Nero, a software kit for managing CD/DVD disc media. They made a build of some of their tools for Linux, meant to run on Debian 7. This builds were an experiment and got abandoned because of the very few users it had. Yet, these tools still work perfectly fine on Debian 12 despite being based on ancient libraries because it bundles all its requirements as a copy in its own proprietary blob.

I talked about caution on updating libraries on Windows. You can find many deprecated methods in any native Windows library that will likely never be removed from the library binaries, as many applications require it. The new, better and more feature rich method is given a different name instead, and is pointed out in the documentation for the older method.

Projects like FUSE are very nice for this, where an AppImave bundle of prebuilt binaries is given and can potencially not only be ran everywhere that can run FUSE but also in the future too.

[-] NoisyFlake@lemm.ee 1 points 5 months ago

Isn’t this what Flatpaks are doing?

[-] SSUPII@sopuli.xyz 1 points 5 months ago

Flatpak is definitely a possible solution. We will see how it will be managed in the future

this post was submitted on 27 May 2024
457 points (95.8% liked)

Linux

48317 readers
718 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