• ghariksforge@lemmy.world
    link
    fedilink
    arrow-up
    35
    arrow-down
    2
    ·
    1 year ago

    I admit AUR was a huge reason why I made the move to Arch. But with Flatpak gaining more and more traction, the benefits of AUR are shrinking fast.

    • Nayviler@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      I don’t believe the setup is a fallacy, the AUR is one of the main reasons I use Arch. Sure, other distros may have similar systems in place, but the number of packages available on these systems just doesn’t compare. I did a brief amount of research, according to the FreeBSD manual, there are “over 30,000” ports available. In comparison, there are over 90,000 packages available on the AUR, and all of those are in addition to the ~13,000 packages in the official Arch repositories. If I want to obtain a piece of software, even if it isn’t in the arch repos, odds are, someone has already gone through the trouble of figuring out how to build/package it, and has added the PKGBUILD to the AUR.

      This way of doing things is so much more elegant compared to how things are done on Debian or Red Hat-derived distros, where the solution to the problem of a piece of software not being in the official repos is to either (1) scour the internet and try to find if the developer maintains a repo for your distro, (2) look to see if a third party has packaged the software for your distro, and hope and pray that they maintain it, or (3), compile the package yourself, after manually hunting down all the various libraries the application needs, determining what they’re packaged as for your particular distro. The third solution doesn’t handle updates at all, unless the application’s developer has built-in an update checker into it.

      Things are getting better as snaps and flatpaks gain popularity, but both of those systems have lots of issues of their own, and arguably aren’t anywhere near as good as a proper native package for your distro. Flatpaks don’t really work for CLI tools. Snaps are stupidly slow. Both snaps and flatpaks still struggle with theming. Applications installed with either take up way more space than their natively-packaged equivalents.

      • MischievousTomato@lemdro.id
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Things are getting better as snaps and flatpaks gain popularity, but both of those systems have lots of issues of their own, and arguably aren’t anywhere near as good as a proper native package for your distro. Flatpaks don’t really work for CLI tools. Snaps are stupidly slow. Both snaps and flatpaks still struggle with theming. Applications installed with either take up way more space than their natively-packaged equivalents.

        Flatpaks would beat native packages if they didn’t have a trillion papercuts and issues. I’m on NixOS because I want to avoid using flatpak.

  • HakFoo@lemmy.sdf.org
    link
    fedilink
    arrow-up
    18
    arrow-down
    3
    ·
    1 year ago

    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.

    • yoevli@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I think you misunderstand the typical use case for the AUR. It’s generally used to install fairly niche software that might fly under the radar of distro maintainers. For example, I have CoreCtrl, a utility for managing AMD GPUs, on my install via the AUR. I’m not aware of any distro that packages it currently because it’s just too niche of a use case right now for maintainers to pay it any mind.

      • NaN@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I think initially it was because the distro repositories were fairly small, agree now it is often a lot of niche stuff now which is one reason people who don’t use the AUR don’t really miss it either.

        That package is in Fedora and Debian testing/Sid and the next Ubuntu. There is also an Ubuntu ppa for the and it’s on the opensuse build service.

  • SymbolicLink@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    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.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        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

  • nyan@lemmy.cafe
    link
    fedilink
    arrow-up
    4
    ·
    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.

    • MischievousTomato@lemdro.id
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s so kino. Incredibly hard to learn and much more to master, but much more powerful. Nothing beats easily modifying a derivation’s source, or adding patches or build options or whatever you want.

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    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
      link
      fedilink
      English
      arrow-up
      3
      ·
      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.

    • Andy@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It’s a single, central, community space for build plans, which are extremely easy for anyone to create and submit.

  • Yardy Sardley@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    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.

  • words_number@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    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.

  • shirro@aussie.zone
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    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.

  • crunchi@mas.to
    link
    fedilink
    arrow-up
    1
    ·
    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?

  • colonial@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    The AUR is nice and all, but the reality is that most people will be served just fine (if not better) by the more curated repositories. Fedora’s bundled repositories are more than enough for my dev work - and thanks to Flatpak and AppImage, closing any gaps is pretty easy.

    • nikoof@feddit.ro
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      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!