this post was submitted on 18 Jan 2024
764 points (99.1% liked)

Linux

48338 readers
403 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
 

Timothée Besset, a software engineer who works on the Steam client for Valve, took to Mastodon this week to reveal: “Valve is seeing an increasing number of bug reports for issues caused by Canonical’s repackaging of the Steam client through snap”.

“We are not involved with the snap repackaging. It has a lot of issues”, Besset adds, noting that “the best way to install Steam on Debian and derivative operating systems is to […] use the official .deb”.

Those who don’t want to use the official Deb package are instead asked to ‘consider the Flatpak version’ — though like Canonical’s Steam snap the Steam Flatpak is also unofficial, and no directly supported by Valve.

you are viewing a single comment's thread
view the rest of the comments
[–] tigerjerusalem@lemmy.world 3 points 10 months ago (3 children)

As someone who knows nothing about Arch, what do you do if your app exists only as a .deb file? Can you install it?

[–] octopus_ink@lemmy.ml 11 points 10 months ago* (last edited 10 months ago) (1 children)

I know you already got another answer, but - it's very rare that any software for Linux exists that is both 1) not present in the official Arch repos, and also 2) not packaged by a user for the AUR.

Probably 99% of what a typical user (I know we all define that differently) will want doesn't even require AUR access - it will be in the official Arch repositories and will be up to date to within a few weeks of release.

There are some potentially substantial downsides to the AUR (it's the Arch USER Repository - so these are not official arch packages) but IME the real world problems are minimal. I would suggest anyone who is new to the Arch way of distributing software should hit up the relevant page on the Arch wiki and make up their own mind before using the AUR - but it's about being aware of what you are doing more than it is a real warning, if that makes sense. I suspect few Arch or Arch-based users don't have at least a smidgen of AUR packages on their system. (Edit: That page is very thorough. I think it makes installing from the AUR sound much harder than it needs to be. For most people the command is just "yay -S packagename." There are gui options that handle all packages including AUR, and yay is not the only cli option, either.)

Interestingly, there are some AUR packages that work by pulling down the deb and deconstructing it for installation on your system - AFAIK it can be that, RPM, a true "compile from source" situation, or I'm guessing some AUR packages are deconstructing snaps\flatpaks\appimages during the install. Whatever the origin of the files, they include a pkgbuild file that tells your system how to either compile or deconstruct and install the software.

[–] dev_null@lemmy.ml 3 points 10 months ago

I know I ran into this years ago. I think it was some collection manager app for a trading card game that someone had on GitHub and only had .deb releases. Eventually you will want to install something niche.

[–] leopold@lemmy.kde.social 5 points 10 months ago (1 children)

I have found no such instances. Software which is only officially packaged as deb will usually be unofficially repackaged on the AUR regardless.

[–] dev_null@lemmy.ml 1 points 10 months ago (2 children)

I distribute an app I made for Linux, macOS and Windows. The Linux version I only have available as a .deb. Released recently and has about 200 users so far, but definitely exists. No Arch user contacted me yet.

[–] octopus_ink@lemmy.ml 2 points 10 months ago* (last edited 10 months ago) (1 children)

When folks start wanting it, someone will package it for the AUR, or if it becomes even somewhat mainstream it will end up in the main repos eventually.

[–] dev_null@lemmy.ml 1 points 10 months ago (1 children)

Possibly, though I wonder how updates would work then. Currently I have a Debian repository that contains a single package, and installing the .deb from my website also installs the repository so you get updates as with any other package.

If someone repackages it on AUR, I guess they will also need to update it every time I update the .deb, so it's always behind? Of course it would be better if I provided a first party package for AUR, but I can spend time on that when there is actual interest. Most of my users are on Windows anyway.

[–] octopus_ink@lemmy.ml 1 points 10 months ago* (last edited 10 months ago)

Usually what you describe is what they do. Someone "owns" the AUR package (and it's not quite literally any random user IIRC - you have to be accepted as an AUR maintainer I think) and they then take on the responsibility to repackage it whenever the author (you) releases a new version. There is also a mechanism for users to flag the AUR package as out of date in case that maintainer misses a release, and if they abandon it (or even if folks just don't like how they package it) someone else can package it, assuming someone else wants to.

Sometimes the AUR maintainer is the dev themselves. I can't think of a good example currently, but I know I've seen it before.

I don't know the process for how things end up in the official repos, but I would guess it's similar to however any other distros identify software they want to officially package.

[–] sloppy_diffuser@sh.itjust.works 2 points 10 months ago

They may not have to. For example, Plex on nixos just unpacks the deb and installs the files the "nix" way.

https://github.com/NixOS/nixpkgs/blob/e18f8d69fb90bc71c33dc0851e6482284fe2e71e/pkgs/servers/plex/raw.nix

[–] CalicoJack@lemmy.dbzer0.com 1 points 10 months ago

It isn't recommended, but dpkg will install it if you really want to. You just need to handle dependencies manually.

But it's a pretty rare issue. If something isn't available in the official repo, AUR probably has it.