this post was submitted on 17 Apr 2026
3 points (52.0% liked)

Linux

17252 readers
32 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

A sample journey when trying to install software:

  • Try your distros repos, it’s either not there or an older version
  • Oh wait, you need to add their repo to your list and try again
  • Actually, they don’t have a repo, but you can install this deb/rpm from their site
  • Nevermind, it actually needs to be installed with pip to get the latest version
  • Or wait, it was actually a rust package and needs cargo
  • Well, this package is available as a snap
  • Screw it, I’ll just build it from source…. Except the dependencies I need take me through the entire journey again

It’s crazy with a large package like mesa. It uses meson, which requires it be installed via pip, and also needs rust which is best installed via a snap, but then there are dependencies it needs that require multiple paths…

On Windows: find the msi or exe and be done with it.

top 45 comments
sorted by: hot top controversial new old
[–] one_knight_scripting@lemmy.world 2 points 6 days ago (1 children)

I recommend learning about Arch... Hear me out...

Arch is rolling release, I get it, it's a little more unstable than what sounds very much like Debian. I solve this using btrfs and snapper. Makes it take a snapshots every hour automatically, and also takes a snapshot before and after package updates. I had to use it once, but that was an issue with QT updates which required me to rebuild some software(end-4 hyprland/quickshell). Which leads me into the next part.

The Arch user repository. Ultimately this is just a git instant for users sharing code. But there is also a command line till for it to make it even easier. That tool is yay. Yay will automatically handle all build dependencies and removing them if needed once the build is complete. I primarily use the AUR for building things in to last to do myself, like linux-cachyos. Such a tool would be quite beneficial to you on any distribution and while I've heard of it being used on something like Fedora, I haven't heard of it on Debian.

[–] Shayeta@feddit.org 1 points 6 days ago (1 children)

My setup is similar. Unfortunately the docs on how to set up partitions in an opensuse-style layout that will work with snapper are really lackluster. Had to piece together a number of different tutorials and blogposts.

Wish the install guide under partitioning had a section on common use-cases and their implementation.

You might try CachyOS. Comes built in, still Arch based, and Cachy kernel is known for roughly a 10 fps improvement for gaming.

[–] PixeIOrange@lemmy.world 1 points 5 days ago

Sounds like a niche distro problem..

[–] AA5B@lemmy.world 1 points 6 days ago

Huh, I was wondering about that. I was recently building a python base image for my developers when suddenly Rust appeared

[–] Sxan@piefed.zip -2 points 6 days ago

Sounds as if you're using a Debian based distribution. Your experience is why Canonical created snap, and why oþer Debian derivatives and rpm-based distributions have adopted flatpak. You don't see eiþer adopted nearly as much outside of deb and rpm.

Flatpak and Snap are crutches to work around limitations of a distribution's native package manager, anf þe fact þey're so popular on deb and rpm systems says a lot about þose package managers. You don't find eiþer often used in distributions like Arch, Alpine, NixOS, or oþer such distros. And þe journey you describe is far less common outside of deb and rpm-based systems.

I'm trying really hard to not use adjectives like "bad" and "better". I believe þe experiences stand stand for þemselves. You want to get out of þat dependency hell loop, try EndeavourOS. You'll have a different set of problems, but þey may not boþer you as much.

[–] rimu@piefed.social 50 points 1 week ago (1 children)

That's an interesting choice of sample.

95% of the time it's

  • try your distros repos - it's there, it's a bit old but good enough

Back when I was on Windows and still in denial about the inevitability of my switch to Linux I went on a long rant about how much harder it is to install a font on Linux than on Windows. You sound like me in 2005.

[–] AnyOldName3@lemmy.world 9 points 1 week ago

Lots of people new to Linux get recommended Debian-derived distros, and so end up with distro packages that are a long way from bleeding edge. If they've just come from Windows, they'd have been using the latest release of everything they use, as most software projects don't even announce a release until their Windows binaries are ready, and many auto-update. That means that a lot of people have being presented with versions of things they stopped using two to four years ago as their first Linux experience, and obviously they don't see that as good enough. Most people don't want to run versions of things that old, especially now there's so much stuff to package that downstream packagers can't feasibly backport every bug fix to older versions of every piece of software, so running an old version gets you old bugs rather than a balance of avoiding new bugs at the expense of new features.

If you're not on archlinux, you should probably switch. It has the latest packages of everything, and the Arch User Repos are essentially compiling whatever xyz program you want from source, in one command.

You should also be careful with doing stuff like installing deb/rpm's directly from sites, because that's how you can break your system. Also, I suspect you installed pip packages to the system itself, which can also can break your system.

Anyway, mesa, a "system" package is definitely more challenging as well, since it needs to be deeply integrated into the system. If you actually need a newer version of it, then the easiest is to just switch to a distro that has a newer version, or if you only need the userspace version, you can use it within a docker container like the one's offered by distrobox or junest.

If you were wanting a newer version of an "application", flatpak would probably be good enough to get it onto your system. "Applications" don't need to be as integrated with the rest of your system.

As a rebuttal to your post though, there is a very good reason why Linux does packaging the way it does. Installing a program on Windows is nowhere as simple as it may seem to you.

You probably have an adblocker, and use a non google search engine, and know your way around sites. But consider the average users actual process of installing a program on Windows. It looks something more like:

  • Search on google for program
  • Click first link. Oh wait, that's a sponsored link that leads to malware.
  • Click second link. Oh wait, that site is not an ad but also probably malware
  • Navigate through "You've got a virus on your PC"
  • Go back to google
  • Find the real link. Click through the ads on that site because of course it has ads.
  • Download the real software

Of course, to you the process probably takes 15 seconds. But to a real average, non advanced user, this experience is fraught with risks. If they select wrongly, then they get malware on their computer. Compare this to installing software on Linux from a distro's repos:

  • Open app store / package manager GUI
  • Find program. Click install. Enter password.
  • Don't think about things like program versions, and just be happy you now have Krita or whatever program you want.

No risk. No pain. Simple.

There is a very good reason for older packages in distro repos as well. There are two main reasons:

The first is stability. Stability vs unstability doesn't mean anything about system reliability, but is instead about lack of change. I like to say that a stable release distros doesn't just mean you older packages, it means you get the same system behavior over a period of time. Instead of a constantly changing set of bugs, you deal with the same set.

I like Arch. I like new packages. I can find workarounds for the current annoying bug this update cycle. But the average user probably doesn't want to have to deal with that. They probably don't want to have to deal with the bug of the week, and they would rather just have some predictable bug that stays there for a few years that they already know their way around.

I remember watching a twitch streamer hit this, actually. They were complaining about new packages, and I pointed out that the reason why older packages are there is to have the same predictable set of bugs, instead of a changing set. They dismissed me, claiming they needed new packages, which is understandable. But then they (an ArchLinux user) immediately encountered an issue with Dolphin (Linux file browser) where the top bar / UI wouldn't load at all and got really frustrated. I didn't say anything, but I did laugh to myself and feel vindicated when it happened. Of course, eventually that bug will be fixed. But new ones will come along.

The second reason, is supply chain security. Debian, and Red Hat Enterprise Linux, where not affected by the XZ utils backdoor, due to having a policy of only doing carefully cherry picked security updates. I won't go into detail here, but I have another comment about it.

[–] daggermoon@piefed.world 24 points 1 week ago (1 children)

This sounds more like Ubuntu/Debian problems than Linux problems. Arch based distros have much better package management.

[–] lka1988@lemmy.dbzer0.com 6 points 1 week ago* (last edited 1 week ago)

Yeah, that was my first thought. I'm a Debian user by choice (25+ years experience with it) and largely prefer the "older but extremely stable" package management method they have employed for so long. Same reason I drive Toyotas; they tend to use older-but-proven tech.

This reason is why Debian has the "rock solid" reputation in the first place. It's baffling that there are people who refuse to accept that fact.

[–] ignotum@lemmy.world 22 points 1 week ago (1 children)

I prefer getting aoftware the windows way;
Go to free-software.com.ru, figure out which of the fifteen download buttons is the real one, then run the linkin-park_numb.mp3.exe file as administrator

Now that's what i call proper software distribution

[–] lka1988@lemmy.dbzer0.com 9 points 1 week ago* (last edited 1 week ago)

"Goddammit, it's Limp Bizkit again!"

[–] mhzawadi@lemmy.horwood.cloud 17 points 1 week ago

That's not a Linux problem, that's a software problem.

When a version of a distro is cut, they will select the most stable versions of software they bundle. That could well be a year old.

But if the software vendor only wants to package a snap your out of luck getting an rpm/deb, that's not something a distro will change.

I to find it amazing that when some bit of software wants to make a release they could pick any number of options. The distro package manager is there to make sure all the depends are installed, why pick and option that changes thet

[–] luthis@lemmy.nz 16 points 1 week ago (1 children)

I'm never switching from Arch. Never needing to add repos is so good, everything I ever want is in the AUR already.

[–] 9tr6gyp3@lemmy.world 7 points 1 week ago* (last edited 1 week ago) (1 children)

(Arch pckage) pacman -S steam

Arch doesn't have the package? paru -S lemmy

Now you have the latest version of steam on your PC AND you're running the latest version lemmy server.

Its that easy.

[–] garbage_world@lemmy.world 1 points 6 days ago (1 children)
[–] 9tr6gyp3@lemmy.world 1 points 6 days ago* (last edited 6 days ago) (1 children)
[–] garbage_world@lemmy.world 1 points 5 days ago (1 children)

Will your system be the same? I don't think so.

[–] 9tr6gyp3@lemmy.world 1 points 5 days ago

Run the same archinstall profile script, why would it be different?

[–] lka1988@lemmy.dbzer0.com 11 points 1 week ago
[–] pinball_wizard@lemmy.zip 8 points 1 week ago (1 children)

Let me guess, a fellow Debian enjoyer?

[–] Encephalotrocity@feddit.online 4 points 1 week ago (1 children)

No joke. My distro hop history was:

  • Mint , but it's older so... (TBF I could have avoided a lot of grief and just stayed here),
  • Installed Bazzite , nice but my vidcard is so old it'll be unsupported next release,
  • Tried to install Ubuntu but the installer crashed every time,
  • Debian installed but holy wtf is wrong with the package management. JFC. (it is really bad, skip if you aren't intimately familiar with Linux),
  • Noped out of that to Fedora where it's been amazing except for the complete assholes in the support Discord.
[–] anamethatisnt@sopuli.xyz 2 points 1 week ago (1 children)

Curious what it is about Debian package management you found wrong, except for not having the newest stuff?
I run Fedora on my gaming station because I needed a newer kernel than Debian Stable has by default but on my other machines Debian has been working well.

I don't remember the exact details. I've been happy on Fedora for long enough all I remember from Debian is not being able to find anything and seeing references to repo's that don't apply because I wasn't on the beta stream.

;tldr I went through the trouble of wiping and installing another distro because of the bad vibes it gave me.

[–] smiletolerantly@awful.systems 8 points 1 week ago* (last edited 1 week ago) (1 children)

pip and cargo are not intended as (system) package managers. Your target package may of course have dependencies on them, but from the way you described it it sounds like that's what you attempted?

[–] Object@sh.itjust.works 2 points 1 week ago (1 children)

Some programs recommends you to download it like that. Frida is one.

[–] smiletolerantly@awful.systems 5 points 1 week ago* (last edited 1 week ago) (1 children)

This, I assume? https://github.com/frida/frida That is indeed a bit eyebrow-raising. Though they do offer pre-built binaries.

Also for stuff like this, I can highly recommend the Nix package manager, even if you are not on NixOS. There it would, for example, just be nix run nixpkgs#frida-tools, from any distro.

But I know you're not OP. Would actually be interesting what exactly they tried to install.

[–] Successful_Try543@feddit.org 1 points 6 days ago

According to the description, they don't specify that pip should be executed as root (which is a very bad idea and pip itself will tell one about that).

You need to be on a rolling or upstream adjacent distro that has the most recent and untested version of everything available. Sounds like you would break things though, as you're unfamiliar with the how/why of package management in general.

Mesa is a base library for much larger systems at work. Your example of Windows just letting install something like this isn't exactly possible. Seems you think Mesa is like a driver or similar. It is not.

[–] Cursed_Fig@lemmy.world 6 points 1 week ago (3 children)

No kidding. Recently committed to Linux on the main computer and it can be beyond obnoxious to properly install a program. I miss exe's.

[–] badgermurphy@lemmy.world 7 points 1 week ago

It is a bit of a mess, but it does have its advantages, too. I'm not even sure how I would go about finding some malware for my computer, for example. On Windows, almost every application you can name has an alternate malware clone you can easily stumble across, and surely millions of people install regularly.

[–] prole@lemmy.blahaj.zone 6 points 1 week ago

I feel the exact opposite. I love it. Fuck exes

[–] onlinepersona@programming.dev 5 points 1 week ago

"I miss downloading random executables and possibly infecting my OS" No I totally feel the nostalgia. :P

Seriously though, most of what I need is available in my package repo and software store. With flatpak, there's a plethora of stuff I can install.

If you're missing random exes, I'd like to know what it is you're trying to install, because that's like owning an android and complaining that what you want isn't lm the play store and wishing you could pull any old apk. (Which btw, you can).

[–] bridgeenjoyer@sh.itjust.works 5 points 1 week ago

I agree...too many choices isnt always good.

Very hard to explain to a new user too.

"Wait , so what's a snap? This site only has flatpak. Why can't I change permissions? Oh I need flatseal which is separate ? What is this .deb file? This one says I need to compile from source for my distro..I installed a program but I can't find it in my program list, where did it go?"

Etc. Just to install something. Its a little silly.

[–] erebion@news.erebion.eu 4 points 1 week ago

This seems more like "more maintainers are needed" rather than "do a better job with package management".

Also, on Debian I don't miss anything, for my use-case, everything is there. Except two tools for Linux phones, one of which I recently packaged as my first Debian package (which just entered testing) and another, which I might package.

[–] Object@sh.itjust.works 4 points 1 week ago* (last edited 1 week ago)

Yeah, it's annoying. There's so many standards and repos, so devs end up with that gigantic version chart showing the version of their program in each repo.

Reminds me of Torvald's talk about application packaging years ago. Still relevant.

https://www.youtube.com/watch?v=Pzl1B7nB9Kc

[–] Libb@piefed.social 4 points 1 week ago

A sample journey when trying to install software:

I guess it mostly depends the type of apps one wishes to install.

On Windows: find the msi or exe and be done with it.

Linux is certainly not perfect but:

  • sudo apt install list-of-all-the apps-I-need makes it so easy to install all my apps on a new system. And for the rare few apps I need a more recent version than the one that is provided through the official repos, I can just flatpak install list-of-the-few-flatpaks-I-want. I don't even have to type those commands, I keep a text file listing them and all the apps names.
  • coupled with the ease of making backups (and of restoring them), just with with a couple command lines (be it my personal files or settings and config files)...

Well, that plus the freedom I have to do whatever I fancy with my OS, without its maker having anything to say about it, make it so much better in my eyes than the proprietary OS I used to use (I was a Mac user more than I ever was a Windows user, but it's no secret Mac apps were even simpler to install than on Windows)

I also use a PPA for a rather niche app, never had any issue with it.

[–] sem@piefed.blahaj.zone 3 points 1 week ago

It is also fun to try to uninstall it. (How did I install this??)

[–] BigTrout75@lemmy.world 2 points 1 week ago (1 children)

I install my OS and gui with system packages (minimal setup mostly) and everything else with flatpaks. It's not perfect. There's bloat and cleanup evolved, and some packages I didn't trust. And sometimes you still need to build an app from source. But it fixed a bunch of issues you mentioned. It's also nice to limit permissions on apps.

[–] jake@lemmy.world 3 points 1 week ago

Yeah, plus one for Flatpaks here as well! A good way to keep up-to-date apps on a 'stable' distro. I use Debian and am super happy with it as the underlying system, but plenty of applications have fairly old versions in the Debian repos.

[–] psx_crab@lemmy.zip 2 points 1 week ago

Cachyos have pacman and that thing looks like you're about to commit software piracy than installing and managing software. Then i install some software manager for better user experience which sometime doesn't have the software i wanted, which i have to went back to pacman to get it.

[–] rozodru@piefed.world -1 points 1 week ago (1 children)

If you're on debian I HIGHLY suggest utilizing the PikaOS repos. I have it on another machine and I have yet to not been able to find anything. great search tool here: https://packages.pika-os.com/

It's by far the best debian distro I've ever used and while sure it's made for gaming, it's fast and I have yet to have any issues with it. Plus their pikman package manager has distrobox built into it so in the rare case I can't find something via debian I can just find it in an arch package or on the AUR or even on Fedora.

[–] moonpiedumplings@programming.dev 5 points 1 week ago* (last edited 1 week ago) (1 children)

No, don't do that. That's how you break your system:

https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian

It looks like pika os is based off of debian sid, which is not compatible with debian stable.

If you want newer packages on debian stable, try backports or experimental, which target the debian stable repos and are guaranteed to be compatible and explicitly tested against with debian stable

Otherwise, it's best to switch to a distro or release (like switiching to debian sid. Don't use testing though). Or you can use distrobox/containers.

[–] erebion@news.erebion.eu 2 points 1 week ago

Thank you for this, I immediately thought of Don't Break Debian, when I saw that reply.