this post was submitted on 02 Oct 2023
411 points (94.2% liked)

linuxmemes

21210 readers
50 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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!

    founded 1 year ago
    MODERATORS
     

    top 50 comments
    sorted by: hot top controversial new old
    [–] MCk3@lemmy.world 84 points 1 year ago* (last edited 1 year ago) (2 children)

    What software only works on Arch? If anything I see stuff that’s packaged for arch but can be installed from source on other distros without issue.

    Ubuntu-only software, on the other hand, is infuriating

    [–] seaQueue@lemmy.world 33 points 1 year ago* (last edited 1 year ago) (2 children)

    There's a lot of content packaged for the AUR that isn't readily available to people using less enlightened distributions.

    I use Arch BTW.

    Seriousposting: a lot of software just isn't packaged as deb or rpm because no one has taken the time to do it. The AUR is really fucking convenient as an end user. And yes, you should always skim AUR packages to be sure they're doing what they claim to do and aren't garbage, anyone can post anything. I have seen a lot of trash uploaded to the AUR.

    [–] clearleaf@lemmy.world 7 points 1 year ago

    I used to think the A in AUR stood for anarchy

    load more comments (1 replies)
    load more comments (1 replies)
    [–] TimeSquirrel@kbin.social 69 points 1 year ago* (last edited 1 year ago) (2 children)

    There are many things that can stop me from running a program but what distro I'm using is not one of them.

    Become distro-agnostic. Don't be afraid of source code.

    [–] dhtseany@lemmy.ml 34 points 1 year ago (1 children)

    Seriously, look at what the pkgbuild is doing on Arch and replicate it by hand on your distro of choice. That's all a pkgbuild is: a simple bash installation script.

    [–] BackOnMyBS@lemmy.world 21 points 1 year ago* (last edited 1 year ago) (1 children)

    I like your funny words, computer man. 👉😀👉

    I use KDE Neon, btw.

    load more comments (1 replies)
    [–] cyberpunk007@lemmy.world 14 points 1 year ago (3 children)

    True but dependency hell and maintaining updates for that is a headache I wish not to deal with.

    load more comments (3 replies)
    [–] nevemsenki@lemmy.world 35 points 1 year ago (1 children)

    Configure and make are your best friends.

    Just don't worry about timely updates.

    [–] rtxn@lemmy.world 6 points 1 year ago (1 children)

    timely updates

    You mean I shouldn't git pull; git checkout HEAD; sudo make install every day?

    load more comments (1 replies)
    [–] mvirts@lemmy.world 31 points 1 year ago (7 children)

    ./configure

    make

    sudo make install

    [–] snowraven@sh.itjust.works 6 points 1 year ago

    Thanks, Now excuse me while I put a million compiler flags to optimse my program by 1 nanosecond and contemplate the reasons for human existence.

    [–] redcalcium@lemmy.institute 6 points 1 year ago

    Later: how to uninstall this app?

    [–] onlinepersona@programming.dev 5 points 1 year ago (1 children)
    [–] mvirts@lemmy.world 5 points 1 year ago

    And so the journey continues, deep into the forest of antiquated build systems and bleeding edge dependencies

    load more comments (4 replies)
    [–] MalReynolds 31 points 1 year ago* (last edited 1 year ago) (3 children)

    Distrobox is your friend. Me, I like an immutable OS (kinoite) but I still want the AUR...

    distrobox-create --name arch --image archlinux:latest
    distrobox enter arch
    install yay as normal
    yay -S vscodium
    distrobox-export --app vscodium
    yay exa
    distrobox-export --bin /usr/sbin/exa
    exit [back to kinoite]
    exa [works]
    vscodium [works, has icon in application launcher]
    

    Try it, you might like it !

    [–] Sh1nyM3t4l4ss@lemmy.world 8 points 1 year ago

    Also great when you get some software as a deb for old Ubuntu and don't want the trouble of manually making it work on a new system. Just make an old Ubuntu distrobox.

    load more comments (2 replies)
    [–] Blackmist@feddit.uk 24 points 1 year ago (1 children)

    You Linux people are funny.

    I just download the Windows versions and run them with Wine.

    load more comments (1 replies)
    [–] mlg@lemmy.world 22 points 1 year ago* (last edited 1 year ago)

    finds complete updated AUR package

    am running Fedora

    Proceeds to unpack AUR and reverse engineer what it does so you can get what you need

    True story for some stupid ethernet driver patch: alx-wol-dkms

    [–] Smokeydope@lemmy.world 21 points 1 year ago (1 children)

    TFW you're caught between being an average person and tech nerd wizard, just competent to copy/paste ubuntu-based install instructions in the terminal but get a headache trying to compile from source. I use Mint, btw.

    [–] ignotum@lemmy.world 12 points 1 year ago

    I consider myself relatively familiar with linux, people come to me when they have issues or need help setting something up

    But compiling stuff from source? That still gives me headaches 😩

    AUR is love, AUR is life 🙏

    [–] Sanctus@lemmy.world 20 points 1 year ago (1 children)
    [–] BaroqueInMind@kbin.social 8 points 1 year ago* (last edited 1 year ago)

    Very very very rarely some stuff on it is sometimes orphaned or outdated, but it's really fucking great to simply "paru" and the thing I want.

    [–] czech@lemmy.world 16 points 1 year ago (1 children)

    This is what always leads me back to arch. I can follow an outdated 12-step guide to installing the software in Debian or I can install it with one command from AUR.

    [–] richardisaguy@lemmy.world 7 points 1 year ago

    Depending on the software, you can use it inside an arch Linux distrobox with yay or some other helper

    [–] RegalPotoo@lemmy.world 15 points 1 year ago (3 children)

    ./configure && make && sudo make install

    Get off my lawn.

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

    I'm a noob, isn't every (open source) program aviable for every distribution if you compile it from source? It's all Linux in the end (i never compiled a program from source, so I don't know if it's easy at all)

    [–] deadcade@lemmy.deadca.de 7 points 1 year ago

    Some programs may use libraries or tools specific to a distributions package manager. For example, yay, an AUR helper/pacman wrapper. You would have a very hard time getting it to work on Debian.

    Other programs might only include build scripts for a distro specific build system. For example, a program might skip using a Makefile, and do everything in the Arch-specific PKGBUILD.

    Generally though, most software uses a standard cross-distro (or even OS) build system. In this case, compiling from source would be an option on any distro. The program might still only be packaged for Arch/NixOS/Gentoo (or others), as it is a very simple process to do so.

    load more comments (8 replies)
    [–] merthyr1831@lemmy.world 12 points 1 year ago (2 children)

    fr though why is the AUR specific to Arch when its pretty much an automated build/binary blob installer? I dont know much but it really seems like the AUR could easily be made available on other distros and renamed to LUR.

    [–] stardreamer@lemmy.blahaj.zone 17 points 1 year ago* (last edited 1 year ago) (2 children)

    AUR maintainer for a few niche packages here. It's because it lowers the barrier of entry. Remember this is all a volunteer effort.

    What do I do when someone running ubuntu reports an error saying the PKGBUILD doesn't work?

    What if the program fails due to a different version of the kernel? (True story, only after 2 weeks of debugging I found out that the user was running Manjaro, which used a different naming convention for the kernel)

    What do I do if someone reports a missing library dependency on fedora? Should I also package that library for fedora?

    If I'm packaging drivers for specific hardware. I'm not going to install a specific distro just to fix your issue (sorry!). Most of my advice is given on a best effort basis. I made these build scripts for myself since I want native installs for all my software, and thought other people may be interested in them as well. If the responsibility of maintaining them becomes too overwhelming (like with your LUR case). I'll probably host these build scripts in a private repo instead.

    load more comments (2 replies)
    [–] bob@infosec.pub 7 points 1 year ago (1 children)

    I think it might be because of dependencies that might not be the same version on other distros

    [–] merthyr1831@lemmy.world 6 points 1 year ago

    Now that I think of it, if i follow it to the logical conclusions of using a container to build and manage dependencies for each individual package across multiple distros all I've come up with is a self-building flatpak and/or VanillaOS 👀

    [–] iopq@lemmy.world 11 points 1 year ago (5 children)

    Funny meme. NixOS has more packages than the AUR

    [–] PainInTheAES@lemmy.world 17 points 1 year ago (4 children)

    The AUR has more eyes on it though and can be more up to date. Getting OBS plugins "wrapped" was a pain in the ass in NixOS and they were out of date. But I'll admit it's a pretty niche example.

    load more comments (4 replies)
    [–] exu@feditown.com 15 points 1 year ago (1 children)

    *only if you count different versions as different packages.

    load more comments (1 replies)
    load more comments (3 replies)
    [–] wallmenis@lemmy.one 11 points 1 year ago

    distrobox for most cases should be fine...

    [–] HenriHenr@feddit.de 11 points 1 year ago

    I use arch btw

    [–] Holzkohlen@feddit.de 10 points 1 year ago (1 children)

    This is not a problem, I use garuda btw.

    load more comments (1 replies)
    [–] possiblylinux127@lemmy.zip 9 points 1 year ago (1 children)

    Can't you just use it though distrobox and podman?

    [–] hottari@lemmy.ml 6 points 1 year ago (18 children)

    Not as easy or as convenient as yay -Sy appname

    load more comments (18 replies)
    [–] onlinepersona@programming.dev 8 points 1 year ago (2 children)

    ...or nixpkgs they have the most packages of any distro (although, I don't know if they also count all the language specific libs like from pypi, npm, crates, etc.)

    load more comments (2 replies)
    [–] Rin@lemm.ee 6 points 1 year ago (2 children)

    Just do whatever the package file says.

    load more comments (2 replies)
    [–] raubarno@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

    Same. Yesterday, I found Vulkan drivers for virtual machines (vulkan-virtio) , but it's packaged only for archlinux. And I gave up trying to build from source yesterday.

    [–] binboupan@lemm.ee 5 points 1 year ago

    or only as appimage

    load more comments
    view more: next ›