Pull a docker image of an old distro into an apptainer sandbox, install what you need within, then make a .sif
image, should work pretty much in perpetuity. You can also try to make an Appimage.
TIL about sif. Thanks, will give it a try!
I am a beginner Linux user, if above scenario happens to me , I will not know what the hell you are talking about and just get windows, the linux community , here does not support the average user even in memes.
This was just an outline of what you could do in the scenario, not a full solution. Looking up the keywords, "Apptainer" (+sandbox), ".sif", and "AppImage" should give you a starting point, and any specific questions can be answered separately. You are right that people could be jerks to beginners but this is rarely the intent. Not all discourse about Linux has to be at a beginner level, and packaging legacy software is not really a beginner topic.
I am using linux for 20+ years and don't understand what they said. And I don't even want to, I was using wine to run open source software before flatpak, when I need it once a year.
Running the Windows version in Wine probably would never have occurred to me.
Arch (i UsE aRcH bY tHe WaY)'s AUR has a package for it. I just installed gpaint on a Raspberry Pi 4 just to see if it worked. It worked perfectly. (Disclaimer: I did have to update the architecture in the PKGBUILD to allow armv7h, but on an x86_64 machine, that wouldn't be an issue.)
You could probably run Arch in Docker and install the AUR package in the Docker container if you wanted to go that route.
I do this using an Arch distrobox on my openSUSE Kalpa machine whenever I need anything that isn't flatpak'd or available through my tumbleweed distrobox.
Mi just love the AUR 👌🏻
AUR my beloved
AUR can't save you from a library needing old versions of dynamically linked libraries
find an even older, less mantained alternative.
Or you find an AUR someone built years ago
That'd be one of those many broken AUR packages that won't compile.
What the hell is this
They cwyin
I read that as "they cygwin" and tbh it's a pretty accurate depiction of doing anything with cygwin, in my experience at least
I got Mechwarrior 3 working with wine. That shit was fuckin impossible on modern windows.
I like how you pointed out: backwards compatibility is a choice.
Maybe I'm missing something or don't know how to use wine, but more than 50% of the time if I try to run an old windows program it doesn't work.
Wine tends to work better for W*ndows programs that already have a Linux port, because they depend on fewer m*crosoft-specific libraries... which is not very helpful most of the time, but it is the subject matter of the meme.
Also guess I should say my solution is to run a virtual Windows machine on my Ubuntu laptop
One day someone's posts how all Linux programs run forever and Windows creates abandonware
Another day someone complains about the Linux version of his program not tuning anyone so he has to use the Windows version
I'm not sure what's going on anymore
A method I have not seen mentioned yet (for when you have an old precompiled version of an app):
- Identify the missing libs. You can run the program, but sometimes it's easier to use ldd
- Use your web browser to download the missing libs from Debian's repos (stable or older if need be). Unfortunately you often also have to grab their deps too.
- Extract the .debs
- Move all of the .so files into the same folder as the old program you are trying to run
- export LD_LIBRARY_PATH="$(pwd)"
- Now try running the app
It often takes a bit of fiddling, but it's worked for me a few times and you only need to fetch the few libraries you are missing. For bigger things however it can be a dependency hell, you might as well use the distro's actual package manager inside a chroot.
Note: You don't need to be using Debian as your host distro, I don't. As long as it's a glibc based distro you should be mostly fine (glibc is mostly backwards compatible)
Sometimes you can have a similar experience trying to get abandoned Windows software to work too. Found myself in DLL/OCX hell trying to get an obscure old Windows game to work in Bottles.
And if that wasn't bad enough, after installing Bottles' Flatpak (the first and only Flatpak I've ever used), the system decided to activate hourly Timeshift backups despite that being disabled in Timeshift's config. I invoked the power of irony and told Timeshift to take the system back to a pre-Bottles state, and lo, everything behaved again.
I love bottles. Especially the flatpak version, since I don't have to worry about w*ndows programs shitting up my filesystem. And the recent per-bottle sandbox feature is also great for running semi-untrusted applications without needing to toggle things in Flatseal every time. I do wish Bottles kept support for winetricks tho. Recently wanted to run M$ Paint (the XP version), and it just wouldn't work with Bottles. Ended up installing the official Wine flatpak and using winetricks from there (it comes pre-installed).
Nix or guix are the proper solution.
Yep, if you manage to make it run on them, you are set forever.
First thing I'd try is to use a "period-correct" nixpkgs commit for the libraries. It might even have the package already.
Hmmm I'm a bit hesitant about nixpkgs, since when I last tried using it (outside of nixos), many (modern) GUI apps were broken, at least on my distro, But I'll give this a try if u/observanTrapezium's suggestion doesn't work. Thanks!
Well to clarify the two big differences here are that the exe is pre compiled and maybe dynamic libraries.
Heavy tech stacks do suck though
Or just download an older live CD that is compatible, and use it in a VM.
My distro recently dropped support for gtk+2 (which I am fairly pissed about, since it’s the last good version of GTK+)
Stuff like this completely throws the shared libraries idea in the bin. There are lots of benefits, sure, but none of them matter when your program won't even start.
Please name and shame your distro. GTK2 is a core component of userspace for many users, just as important as glibc and bash. Maintaining it might be annoying, but it's the lesser of two evils.
My distro (Void Linux) dropped support for qt4 a few years back. Now I'm running QUCS in wine. "win32 is the only stable ABI in Linux"
(And yes you're right 2 is the last good version of GTK+. Gtk3 and 4 look and feel so much worse, they make me feel like I'm being punished.)
just another Monday
~~ive got limited experience however i think ive got tegaki-python to build under nixos:~~
~~name to default.nix then run (from the same dir)~~
~~nix-build -E 'let pkgs = import { }; in pkgs.callPackage ./default.nix {}' --show-trace~~
~~lots more to build but i looks possible to have up and running in nix with some small tweaks from the initial nix-init .nix~~
~~a sparceCheckout would trim some fat however minimal on a per-package basis too~~
looks like its running into perm issues, bit over my head :D
linuxmemes
Hint: :q!
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!