this post was submitted on 04 Jul 2023
94 points (100.0% liked)

Linux

1253 readers
86 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
top 50 comments
sorted by: hot top controversial new old
[–] JustADirtyLurker@lemmy.ml 22 points 1 year ago

The majority of other distros value package managers that allow for complex graph evaluation of dependencies, and the ability to roll back. This is granted with rpm and Deb, but not for pkgsource, which is a pretty lightweight format compared to those.

As for AUR, the major distros (Ubuntu, Debian, Fedora) support 3p repositories as well. The main concern is security. IIRC one of major complaints for AUR in the past was that it didn't foresee a strongly secure distribution system.

[–] HakFoo@lemmy.sdf.org 16 points 1 year ago (2 children)

Asbestos undies on.

I don't think AUR is a feature, but more of a hazard indicator. If the distributor isn't packaging so many important things that most users have to turn to external services regularly, they're lying down on the job.

[–] restarossa@infosec.pub 5 points 1 year ago* (last edited 1 year ago)

Well that would apply to any distro I've used.. they're all going to have things that aren't in the main repos. It's a feature for Arch in that on nearly every other distro it's probably going to be more of a pain to install them.

load more comments (1 replies)
[–] Fryboyter@discuss.tchncs.de 14 points 1 year ago* (last edited 1 year ago) (1 children)

when it’s the main reason why so many people use Arch Linux?

AUR is one reason why I use Arch. But not the reason. Besides AUR, Arch has many other advantages from my point of view. Like for example the wiki that also users of other distributions use. Or the many vanilla packages. Or that you can easily create your own packages through the PKGBUILD files. Or that, based on my own experience, Arch is quite problem-free to use despite the current packages.

One reason why other distributions don't have something like AUR could be that AUR is not an official offering, so no verification is done in advance either. Thus, it has happened at least once that someone has manipulated PKGBUILD files in bad faith (https://lists.archlinux.org/pipermail/aur-general/2018-July/034151.html). The Wiki does not warn against the use for nothing.

However, it is much easier for the user to check the files in the AUR in advance than it is, for example, with ready-made packages in an unofficial PPA.

With https://build.opensuse.org and https://mpr.makedeb.org there are also at least two offers that are somewhat similar to AUR.

[–] webjukebox@mujico.org 6 points 1 year ago* (last edited 1 year ago)

Arch has many other advantages from my point of view. Like for example the wiki that also users of other distributions use.

I remember when started using #! and then Debian with Openbox. It didn't matter what problem I had, the answer and solution were always in the Arch Wiki.

Now I am full Arch user.

[–] Kangie@lemmy.srcfiles.zip 11 points 1 year ago (3 children)

What makes you think there aren't equivalents out there?

Gentoo's Guru repository, for one, and any of the multitude of ebuild repositories available through the eselect repository command.

The AUR is not particularly special.

load more comments (3 replies)
[–] loudWaterEnjoyer@lemmy.dbzer0.com 11 points 1 year ago (2 children)

AUR is definitely not the reason people choose arch haha

Fellow Linux folks, this direction is one of the main problems and you know it very darn well.

[–] s4if@lemmy.my.id 5 points 1 year ago (1 children)

Nah, it is my MAIN reason using Arch-based distro. If not because AUR, I should still using rock-solid Linux Mint.. lol.. 😅

[–] InternetPirate@lemmy.fmhy.ml 2 points 1 year ago

Same here. If Pacstall was as extensive as AUR I would still use Linux Mint.

[–] InternetPirate@lemmy.fmhy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)
load more comments (1 replies)
[–] MischievousTomato@lemdro.id 10 points 1 year ago (1 children)

Fedora has COPR, Opensuse has the OBS (which also works for other distros), NixOS (my beloved) has overlays...

[–] nikoof@feddit.ro 3 points 1 year ago (1 children)

I've been on NixOS for about a week now and I can say I've got access to pretty much all of the packages I was using on Arch just from nixpkgs. I even found it quite easy to package stuff myself!

[–] MischievousTomato@lemdro.id 3 points 1 year ago (2 children)

Same. Exactly. Packaging can be a bit more complex, but once you get it, it's great. There's even the NUR, but I havent used it.

[–] sudoreboot@slrpnk.net 2 points 1 year ago (1 children)

The power of flakes is unparalleled

load more comments (1 replies)
[–] theshatterstone54@feddit.uk 1 points 1 year ago

What resources would you recommend for a complete beginner that wants to learn NixOS? I've been using it for a few weeks now, but I want to actually learn it and use the power of the nix language

[–] treadful@lemmy.zip 9 points 1 year ago (3 children)

AUR is really not that great? Who moves to Arch for it? It's been my main OS for I don't even know how long but AUR has been my primary pain point. PKGBUILD is cool and useful useful. AUR however, is untrusted (or rather shouldn't be trusted), often out of date, sometimes requires compilation, and doesn't even have any good pacman wrappers since yaourt (that I'm aware of).

Am I missing something?

[–] chaorace@lemmy.sdf.org 5 points 1 year ago (1 children)

doesn’t even have any good pacman wrappers since yaourt (that I’m aware of).

paru is cool

[–] sxan@midwest.social 6 points 1 year ago (1 children)
load more comments (1 replies)
[–] Fryboyter@discuss.tchncs.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

AUR however, is untrusted (or rather shouldn’t be trusted), often out of date

So basically like a PPA which are used by many users of Ubuntu. The only difference is that the PKBUILD files used to build the packages are easier to check than the final packages in a PPA. And that's exactly what is a big advantage for me.

sometimes requires compilation,

This is often because a project does not offer ready-made packages that can be downloaded from Github, for example. There are also people who do not trust ready-made packages from unknown third parties. I wouldn't necessarily download and execute a binary file from a Dropbox of a user I don't know. Compiling is the safer way if the source code is downloaded from a more trustworthy source.

and doesn’t even have any good pacman wrappers since yaourt (that I’m aware of).

Personally, I don't think aurutils, paru and yay are bad. I currently use aurutils myself. But as far as AUR helpers are concerned, everyone has their own preferences. That's why there are so many ;-)

load more comments (1 replies)
load more comments (1 replies)
[–] iopq@vlemmy.net 8 points 1 year ago

NixOS has NUR, but it's not necessary because they take everyone's pull requests in the official repo. I've been maintaining the software I use myself on the official nixpkgs, so I don't need to use the NUR.

[–] words_number@programming.dev 6 points 1 year ago (1 children)

In my experience the AUR is a dumpsterfire where half of the stuff doesn't work or breaks other things in your system. Definitely not a reason to switch to arch or manjaro for me.

load more comments (1 replies)
[–] demesisx@lemmy.ml 5 points 1 year ago (2 children)

I'mma let you finish, but Nix had one of the best package managers of all time.

[–] loudWaterEnjoyer@lemmy.dbzer0.com 2 points 1 year ago (2 children)

Great, why do you need a whole OS centering around a package manager?

[–] Laser@feddit.de 3 points 1 year ago (1 children)

nix and the other nix tools on NixOS is more than just the package manager, they cover all aspects of system management, including the packages.

What system management are you talking about? Sounds like Kernel to me.

load more comments (1 replies)
load more comments (1 replies)
[–] rikudou@lemmings.world 5 points 1 year ago (2 children)

What's so special about it? Isn't it just a repository? Or am I missing something? If it's just a repo, Ubuntu has PPAs and everyone and their mother is creating PPAs.

[–] ItsPlasmaSir@lemmy.ml 4 points 1 year ago

PPAs and the AUR are very different. Where as PPAs contain prebuilt .deb packages, the AUR hosts PkgBuild scripts that typically pull from a git repo and compile a program for you.

I understand the confusion though, because they accomplish the same goal of installing software that is not in the main repos, but in different ways.

load more comments (1 replies)
[–] nyan@lemmy.cafe 4 points 1 year ago

The equivalent for Gentoo is the overlay system. gpo.zugaina.org (which is the best total package index) claims to list over 100000 ebuilds for 56000 different packages (some packages have multiple versions in-tree), and I know their database is not complete, since I contribute occasionally to an overlay that they don't index. Oh, and that also doesn't include things like perl library packages autogenerated by g-cpan.

So, um, yeah, useful but not unique.

[–] shirro@aussie.zone 4 points 1 year ago* (last edited 1 year ago)

Many distros have independent community generated package repositories though most aren't on official infrastructure. Ubuntu has PPA which is close. I try and avoid AUR as much as I can. It is a potential attack surface and packages are sometimes poorly maintained and break. I like it for system stuff and I mostly review the PKGBUILD. It seems like a good way for software to find a path into the official repos. There was a lot of resistance from me initially but for most desktop applications flatpak has proven to be a better solution.

[–] restarossa@infosec.pub 4 points 1 year ago* (last edited 1 year ago) (1 children)

Don't know. The AUR is a big reason I use Arch. Obviously there's PPAs/OBS or whatever but they're not implemented nearly as well, I don't need to go searching for new repos with the AUR or messing with repo priorities (fun times on Suse...) since everything is in the one place and there's procedures for taking over orphaned packages. I use about twenty or so packages from it, many of them not packaged for any other distro. Personally not interested in using Flatpak since two package management systems is not my idea of KISS. Poor man's AUR imo :).

[–] BCsven@lemmy.ca 1 points 1 year ago* (last edited 1 year ago) (1 children)

(Edit for typo) With SUSE install OPI, it will search the OBS for you.

[–] kurcatovium@lemm.ee 1 points 1 year ago (1 children)

Just a clarification: It's opi, not obi.

load more comments (1 replies)
[–] Dr_Wu@lemmy.ml 3 points 1 year ago (1 children)

For my needs I found that that flatpak just werks for anything not on the distros repos. And for the really obscure stuff I've used, I could just build from source

load more comments (1 replies)
[–] yardy_sardley@lemmy.ca 3 points 1 year ago

It really just comes down to the differences in goals and philosophies between each distribution. Some distros have large curated repositories containing most of everything a normal user would want to use. That's what people expect from those distros, and people use them because they want that experience. Likewise, people don't use arch just because it has the AUR. They want a more DIY experience, and arch provides that, with the AUR being an essential part of how it works.

You're not going to get arch users to switch to ubuntu or whatever by duct-taping an AUR clone onto it. Furthermore, I believe trying to make one distro "to rule them all" that attempts to appeal to every niche would be not only a train wreck technically, but an abomination, antithetical to the principles of the OSS community as well.

[–] crunchi@mas.to 2 points 1 year ago

@InternetPirate I mean apt based distros do have ppa’s although I have found aur to have better support. theoretically though they are equivalent i believe?

[–] SymbolicLink@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (1 children)

I think looking at the two major enterprise players (Red Hat and Canonical) can give hints.

Fedora: run by Red Hat, upstream of RHEL. No way they are going to allow an unreviewed repository to be shipped with fedora by default. But they do have guides to add RPM fusion, and copr repos (the closest equivalent)

Ubuntu: run by Canonical. No way they are going to allow an unreviewed repository to be shipped with Ubuntu by default. But they do host and have guides for PPAs (closest AUR equivalent)

Debian: kind of the base layer for a lot of other distros. Debian itself is kept very minimal, and has a whole philosophy on what packages are allowed.

Edit: I realized this implies PPAs, copr and the AUR are the same when I know they aren’t functionally. I am just trying to highlight the motivations behind the distros and how it may play a part

[–] InternetPirate@lemmy.fmhy.ml 3 points 1 year ago (2 children)

PPAs aren't convenient at all compared to the AUR. Pacstall is the AUR for Ubuntu it just needs more packages. I would still be on Linux Mint if Pacstall was as extensive as the AUR.

[–] SymbolicLink@lemmy.ca 1 points 1 year ago

Yeah that’s true.

I guess I was coming at it more from a “why doesn’t Ubuntu/fedora/debian promote or endorse something like the AUR in their official docs”

But yeah no distro really has an AUR, and it’s kind of a chicken and egg problem now because the barrier to entry for the AUR is much lower than anything else

load more comments (1 replies)
[–] D_Air1@lemmy.ml 2 points 1 year ago (1 children)

Probably for the same reasons why there are so many packaging formats in the first place. If everyone settled on deb, rpm, or arch style tar packages. Then we wouldn't need the aur, flatpak, snap, appimage or anything else.

[–] OsrsNeedsF2P@lemmy.ml 4 points 1 year ago (1 children)

That's it. We'll create a new standard that unites them all!

load more comments (1 replies)
[–] stsquad@lemmy.ml 2 points 1 year ago (2 children)

What does the AUR get you that a:

../configure --prefix=(pwd)/install make make install doesn't?

[–] ralC@lemmy.fmhy.ml 10 points 1 year ago

Installing dependencies automatically mostly

[–] bonfire921@lemmy.dbzer0.com 6 points 1 year ago

It gives you a lot of convenience, auto updates, and dependencies. While it is nice being up to date by checking the git and making it by yourself it is much more convenient to have a package manager for it when you have many Make packages

[–] thingsiplay 1 points 1 year ago

AUR isn't a reason to switch to Archlinux. It is a necessary "evil" when the officially maintained and tested software is not available in the repository. On the flipside, the cool thing is it allows easy system integration of any custom package. That's actually a really cool feature if you need it, but not a specific reason to switch to the distribution. Software availability is also changing with Flatpak and Distrobox and similar stuff.

Other distributions have similar repositories in place too, at least with similar goals to extend the official repositories with user packages. Ubuntu has this PPA (which is not very good BTW) and Fedora has Copr in example.

load more comments
view more: next ›