How do you guys get software that is not in your distribution’s repositories?

  • @HStone32@lemmy.world
    link
    fedilink
    07 months ago

    If I could, I’d compile all my software from source. Unfortunately, it seems a lot of open source developers don’t like writing software in C, which means the burden of sorting through dependancy-hell has been deferred to my shoulders instead.

    • Björn Tantau
      link
      fedilink
      07 months ago

      In that case install Gentoo. Compiling everything from source is its thing. And on the way it will resolve all the dependencies for you. The dependencies you want.

      • @Kusimulkku@lemm.ee
        link
        fedilink
        08 months ago

        I don’t remember what program it was, the dev explained it wasn’t available as flatpak because flatpaks are unsafe or something. Then the installation guide went “well anyway here’s curl | sudo bash.” Like, lmao. Talk about bad security practices.

  • @RmDebArc_5@sh.itjust.works
    link
    fedilink
    English
    08 months ago

    I’m currently on a atomic distro, so how I get my software from favorite to least favorite is this:

    1. Flatpak
    2. Appimage
    3. Fedora distrobox
    4. rpm-ostree
    • @ILikeBoobies@lemmy.ca
      link
      fedilink
      07 months ago

      Rpg paper maker

      Though the Linux version is now in a “do not use” state. The developer decided to just make it into a web app because it was only working on Ubuntu

      • @cm0002@lemmy.world
        link
        fedilink
        08 months ago

        Clearly we need an Arch version of rule 34 and rule 35

        Rule 34a: If linux software exists, it’s in the AUR. No exceptions.

        Rule 35a: If linux software is not in the AUR, it will be made available in the AUR.

    • @hperrin@lemmy.world
      link
      fedilink
      08 months ago

      My software, QuickDAV, is not in the AUR. It’s open source, and I release it only as an AppImage, because I am lazy.

      • folkrav
        link
        fedilink
        08 months ago

        I guess we should have added the word “notable”

        I’m terribly sorry, you left the door wide open ;)

        I’m curious, what makes AppImage a good choice for the lazy developer? Is it easier to create?

        • @hperrin@lemmy.world
          link
          fedilink
          08 months ago

          Ouch. xD

          It’s super easy to create. And you distribute it on your own, so it’s basically like an installer exe on Windows. In my mind it’s one step above only offering source code.

        • @Samueru@lemmy.ml
          link
          fedilink
          0
          edit-2
          8 months ago

          I’m curious, what makes AppImage a good choice for the lazy developer? Is it easier to create?

          The appimage is basically just git clone -> make -> make install DESTDIR=/path/to/AppDir -> wget appimagecreationtool and finally appimagecreationtool /path/to/AppDir and that’s it you have your appimage.

          appimagecreationtool being several tools that can create the appimage from an AppDir, like linuxdeploy, linuxdeploqt, go-appimage, etc

          And that on itself isn’t complex either, it if basically running ldd on the binary, then copy those libraries into the AppDir and finally run patchelf to patch the paths in the binaries and libraries, suyu uses a deploy script instead of using those tools, which I’ve recently forked and began expanding.

          I don’t know how easy it is to make a flatpak or snap, but I do know the dev of zen browser hates dealing with the flatpak and iirc right now the flatpak is outdated as result.

          EDIT: Also lite-xl has been making a flatpak for like 2 years and it isn’t ready yet.

      • @oldfart@lemm.ee
        link
        fedilink
        08 months ago

        There’s so much random, useful software distributed only as appimages. But not notable enough for packaging fanboys.

    • skulblaka
      link
      fedilink
      08 months ago

      I’m a technically savvy but new to Linux user who installed Mint as my primary OS about a month ago. So far I’ve used Flatpaks and AppImages without any issue and haven’t come across snaps. Would you explain the differences and why I would care about one over another?

      • IMO flatpaks are the future of installing linux apps. The comment you replied to lives in the past. System package manager should be for system binaries, not for applications.

        • @Schmeckinger@lemmy.world
          link
          fedilink
          08 months ago

          But I like my applications years out of date and I think its good that every distro has to spend manhours on packaging it individually.

            • @Schmeckinger@lemmy.world
              link
              fedilink
              08 months ago

              I see the appeal for the package manager for a lot of things, but space got so incredibly cheap and fast that duplication is way less of a deal than the effort to make stuff work the traditional way. But im not a real linux user. I don’t like tinkering, I want to download something and it works. And the amazing thing is we can have both. If people like spending time to package something be my guest.

              The funniest interaction I had recently. I downloaded a program that isn’t in my package manager or had any sort of flatpack/appimage so I downloaded it as a deb and it didn’t run because of some dependency. So I could clone the git and build it from source which might have worked, but I was too lazy to. So I just downloaded the windows exe and ran it through wine, which worked flawlessly.

              • @meliante@lemmy.world
                link
                fedilink
                08 months ago

                I don’t like tinkering, I want to download something and it works.

                And this is what’s keeping Linux at bay. Normies are that to the extreme. They want something that is as simple and resilient as possible, they couldn’t care less about the dependencies or even know what they are. They want a program an app and just install it from an “app store” if possible.

      • Kevin Noodle
        link
        fedilink
        08 months ago

        At the end of the day, they’re just different ways of reaching the same goal: universal packages for Linux. I personally use them interchangeably depending on the application and use case.

        There are some packages that definitely work better and are intended to be used and installed via your native package manager (if they rely on system libraries and whatnot). But using either a Flatpak or AppImage results in the same experience - in my experience. It’s a personal preference.

    • @Kusimulkku@lemm.ee
      link
      fedilink
      08 months ago

      Not a fan of AppImages myself. For an universal format it has surprising amount of issues with different distros, in my experience. And the whole Windows style “go to a website, download the AppImage, if you want to update it, go to the web page again and download it again” is one thing I wanted to get away from. At least they don’t come with install wizards, that clicking through menus thing was a pain.

      For one off stuff I run once and never need again, AppImage is alright. But not being built-in with sandboxing, repos, all that stuff, it just seems like a step back.

    • Possibly linux
      link
      fedilink
      English
      08 months ago

      App images are a very Windows way to do things. They bundle everything so they are big

      • @InverseParallax@lemmy.world
        link
        fedilink
        English
        08 months ago

        They are windows, but the linux version of dll-hell across distros and distro versions makes windows dll hell look quaint.

        If someone had addressed that better it would be one thing, but binary interoperability is infinitely broken, so app image is actually an improvement.

      • @Samueru@lemmy.ml
        link
        fedilink
        08 months ago

        Isn’t the gnome runtime alone 2GiB? You how many appimages that is?

        Not to mention you are unlikely to only use one runtime.

        • @Kusimulkku@lemm.ee
          link
          fedilink
          08 months ago

          Then again, loads of apps share that runtime. And if other runtimes have same stuff as that GNOME runtime, the shared parts are on your disk only once. It’s pretty smart in how it works.

          • @oldfart@lemm.ee
            link
            fedilink
            08 months ago

            Ran out of space on a 30GB partition when trying around 10 smallish programs as flatpaks. Runtimes are shared in theory but not in practice.

            • @Kusimulkku@lemm.ee
              link
              fedilink
              0
              edit-2
              8 months ago

              If you allocate 30 GB for / that seems pretty low these days for a desktop system. If you don’t have much space, it’s always best to go with regular repository packages

              Here someone had 163 flatpaks and it used 8,7GB in runtimes. So I’m guessing the 30GB number is for whole of /.

              I just checked out mine, I have 34 apps and runtimes use 3,1GB

              Runtimes are shared in theory but not in practice.

              I think three runtimes (newest freedesktop, KDE and GNOME) cover 90% of my flatpaks. Then there’s programs that use some EOL’d runtime and never get updated, which sucks

          • @Samueru@lemmy.ml
            link
            fedilink
            08 months ago

            I tested installing some web browers, kdenlive, yuzu and libreoffice and without knowing I ended up with 3 different runtimes and the total storage usage (with deduplication) was 4.79 GIB.

            Meanwhile with 33 appimages that I have (which includes same flatpak apps I mentioned) are using 2.2 GiB.

            It doesn’t matter if they share if in the end they end up using several times more storage than the appimage equivalent.

            • @Kusimulkku@lemm.ee
              link
              fedilink
              0
              edit-2
              8 months ago

              You should test it out with those 33 installed as flatpak. If you end up with 4.7GB for runtimes, that’s basically nothing these days as far as storage goes for that amount of programs. More you have, more you benefit from shared runtimes. I doubt it’ll be less than AppImages but it’s usually the starting runtime space use that shocks people.

              Here someone tested it with 163 flatpaks and the runtimes used 8.7GB. With the top 5 most used runtimes covering 128 of those flatpaks.

              https://blogs.gnome.org/wjjt/2021/11/24/on-flatpak-disk-usage-and-deduplication/

              It doesn’t matter if they share if in the end they end up using several times more storage than the appimage equivalent.

              Well we are talking about two gigs, after all. Unless you’re using an embedded system, it’s not a much of a concern if you ask me. But it is more, true

              • @Samueru@lemmy.ml
                link
                fedilink
                0
                edit-2
                8 months ago

                . If you end up with 4.7GB for runtimes, that’s basically nothing these days

                Yes but that wasn’t the original comment I replied to was about.

                163 flatpaks and the runtimes used 8.7GB

                163 flatpaks using 8.7 GiB means that the average flatpak is using 54.6 MiB.

                That’s good the other time I got this linked: https://tesk.page/2023/06/04/response-to-developers-are-lazy-thus-flatpak/#but-flatpaks-are-easier-for-end-users

                Which is no good as in that example there was 173 flatpaks using 27.66 GiB, average 160 MiB, while in your case the average flatpak is using 91 MiB.


                This is what I have with appimages:

                In this case the average appimage is using 69 MiB, though there is one outliner which is the Steam appimage that I have there (470 MiB) which is an entire conty container with its own video drivers and everything, without it the average would be 56 MiB.

                I know this doesn’t matter these days but once again that wasn’t what the original comment was about.

                Well we are talking about two gigs, after all. Unless you’re using an embedded system, it’s not a much of a concern if you ask me. But it is more, true

                Thanks for the link showing an average flatpak using 54 MiB though, didn’t think it was possible lol.


                WAIT I just took a deeper look at the link, isn’t that guy just showing the runtimes without the applications using 8.7 GiB?

    • lattrommi
      link
      fedilink
      English
      0
      edit-2
      8 months ago

      this is probably an edge case but I do when i visit family and friends. these trips are short and infrequent enough that a laptop would be an unnecessary expense and i’m not driving through mountainous areas with my tower. none of them use linux. most have aged windows or mac machines. they don’t care if i run a live system or puppy linux from a USB drive. i add a handful of appimages i’ll use at night or if there’s free time. I’m sure there are better ways but it works for me.

      • @Kusimulkku@lemm.ee
        link
        fedilink
        08 months ago

        If it works for you then it works, no need to switch it up. I guess one other way of doing it would be a persistent install on that USB.

  • @Petter1@lemm.ee
    link
    fedilink
    08 months ago

    I don’t really like neither of the 3, personally. But I understand the need and the benefits

    • emiellr
      link
      fedilink
      English
      08 months ago

      I feel like that’s a pretty good take. As long as you’re getting the software in an elegant way that doesn’t break the dev’s back, we’re good.

    • @pixelscript@lemm.ee
      link
      fedilink
      English
      08 months ago

      The primary thing I hate about them is that every snap package appears to your system as a separate mounted filesystem. So if you look in your file explorer, you can potentially see dozens of phantom drives clogging up your sidebar.

    • @kalpol@lemm.ee
      link
      fedilink
      08 months ago

      The snap store is some proprietary store Canonical runs, and snaps are friggin huge in size. I don’t really know though as I don’t use Ubuntu anymore

      • @lengau@midwest.social
        link
        fedilink
        08 months ago

        The first two snaps I compared sizes of on my system are uv and bitwarden. The uv snap is 9.5 megs vs. the wheel’s 12.2 megs, and the bitwarden snap is 97 megs vs. the Deb’s 79 megs and the AppImage’s 114 megs. These seem pretty reasonable - doubly so since snaps also have delta updates.

        • @kalpol@lemm.ee
          link
          fedilink
          07 months ago

          OK that’s better than what I’ve seen. Notepadqq I think was 2.4gb and I said no to that one. But again I don’t run Ubuntu.

    • @merthyr1831@lemmy.ml
      link
      fedilink
      English
      08 months ago

      Nothing necessarily at the tech level. They’re more capable than Appimages or flatpaks to the point that you can use it to build a reproducible system hardened against tampering or defective updates.

      The downside is that it’s controlled entirely by canonical, has limited abilities (if any?) for hosting storefronts/packages outside of their ecosystem, and said ecosystem is insecure and has already allowed multiple waves of malicious apps to reach end users because of poor moderation of listings masquerading as legitimate versions.

      Canonical has also been increasingly hostile to flatpaks - removing it from Ubuntu and derivatives by default to push users towards snap.

      The whole loopfs thing is just an annoyance, but the aggressive posturing by canonical as well as the closed nature of the storefront that has led to malicious attacks on end users is enough to give it more than a few haters.

    • @lengau@midwest.social
      link
      fedilink
      08 months ago

      I don’t think snaps are bad (and when someone tries to explain why they are, about 85% of the time they say something wrong enough that I suspect they’re probably just parroting someone else rather than actually knowing what’s going on). It’s sad, because if we could get rid of the bullshit we could actually have decent discussions about the benefits and shortcomings of snaps (and how to fix those shortcomings).

      On the .deb front: it’s a package format made by Debian. Each archive contains a data tarball, which has the files in the package in their full structure from /, and a control tarball, which contains metadata such as name, version and dependencies as well as pre-install, pre-remove, post-install and post-remove scripts, which are used doing any setup or removal work that can’t be done just by extracting or deleting the files.

      The upside of deb files is that they tend to be pretty small. The downside is that this typically comes from having a tight coupling to library versions on the system, which means upgrading a library can break seemingly unrelated things. (This is why you get warnings like this page: https://wiki.debian.org/DontBreakDebian) Many third party distributors (e.g. Google with Chrome) take care of this by packaging most dependencies inside the deb, inflating the size.

      Another major difference between packages like debs and rpms and newer formats like snaps and flatpaks is that the latter have confinement systems to prevent apps from having full access to your system.

      • @merthyr1831@lemmy.ml
        link
        fedilink
        English
        08 months ago

        Honestly if not for the convoluted Linux FS layout, debs would be pretty serviceable and aren’t really different to the Windows solution. The fs layout makes installations way too fickle to clashing with other applications.

        That and dependency hell, which distros should have never been allowed to touch beyond the core dependencies required to get your desktop running.

      • emiellr
        link
        fedilink
        English
        08 months ago

        Worth noting that the confinement of Flatpaks and Snaps can have major drawbacks. It has been a major pain in the ass to get Flatpaks working nicely with fractional scaling (think tiny cursor, huge text, tiny text etc etc)

        • @merthyr1831@lemmy.ml
          link
          fedilink
          English
          08 months ago

          Nothing in theory makes that an issue of flatpaks and snap, just that both rely on different means to interact with the host system that have been woefully slow to implement. If enough protocols are developed a flatpak or snap should be as capable as a native app with the safety benefits for free.

    • Lettuce eat lettuce
      link
      fedilink
      08 months ago

      Snaps are a standard for apps that Ubuntu’s parent company, Canonical, has been trying to push for years.

      The issue that most people have with them, is that Canonical controls the servers, which are closed source. Meaning that only they can distribute Snap software, which many Linux users feel violates the spirit & intention of the wider free and open source community.

      Appimages and Flatpaks are fully open source standards, anybody can package their software in those ways and distribute them however they want.

      .deb files are software packaged for the Debian distribution, and frequently also work with other distros that are based on Debian, like Linux Mint.

      • @lengau@midwest.social
        link
        fedilink
        08 months ago

        Some further context on this that @Dop@lemmy.world might want to know:

        While Canonical’s snap store is proprietary (which, to be clear, I don’t really like), all the client software is open source and the API is well documented (though a bit janky). Their snap store relay app (which is open source) has a full implementation of it. There was a fully functional open snap store for a while, but the project died out of a lack of interest. You can also distribute snaps through another mechanism and install them locally on the machine (though you then lose the benefit of snapd’s auto updates). You can even do this with snapd still checking the signatures of the snaps.

        The standard for snaps is fully open, as is snapd itself.

        There’s no need to oversell the negatives to the point of being wrong.

        • @merthyr1831@lemmy.ml
          link
          fedilink
          English
          08 months ago

          Interesting, didn’t know it was feasible to make the distribution open.

          That doesn’t give me much to complain about in theory, but canonical has lost way too much good faith to give people a reason to keep open snap distribution going for free. They should definitely consider hosting an open store just to get people on board again.

          • @lengau@midwest.social
            link
            fedilink
            07 months ago

            It was being done by a group of snapd developers at Canonical, IIRC, but after a couple of years of exactly zero interaction from anyone outside Canonical I think they just gave up and decided it wasn’t worth it because they were getting accused of trying to monopolise whether they had an open store or just an open API.

            Of course, you can also distribute snaps without using the snap store API. I’ve used this for airgapped machines in the past. You can either just grab the .snap file (which is just a squashfs file with a meta/snap.yaml in it so snapd knows how to treat it) and install it with --dangerous, or you can include an assertion file for that snap signed by a certificate that your machine’s snapd trusts and not even have to do that. (Those airgapped machines trusted our own certificate so we could ensure that the snaps came from our CI process and weren’t a developer’s random test snap).

  • @deczzz@lemmy.dbzer0.com
    link
    fedilink
    08 months ago

    .deb first and then flatpak if not available as on deb repo or if deb version is outdated. Never used appimage or snap. Rpm just as good as deb when I use Fedora. Flatpaks are much larger in size which is why I first go with the deb version.

  • @communism@lemmy.ml
    link
    fedilink
    08 months ago

    Artix repos > Arch repos > existing AUR package > create my own AUR package

    No need to use any of these flatpak/appimage/snaps when I can just make a package for my distro. Most software is not difficult to package.

    • Zyratoxx
      link
      fedilink
      08 months ago

      This may be true from your perspective but won’t sway over many newbies / plebs who don’t have the knowledge (yet) or who simply do not have or want to take the time for self packaging.

      And flatpak, snap and appimage tend to become the standard to get verified, tried and tested software hosted & supported by the official maintainers or the company behind the software.

      Now to the personal part:

      There was a time when I was motivated enough to get packages from user repos - I actually never was motivated enough to do self packaging so maybe I have missed something world changing - but I got so tired of having to figure out the missing “optional” dependencies that meant the software wasn’t working as expected and having to trust 3rd party maintainers when most stuff on flathub was “install & ready” and officially supported or at least hosted by a “verified” source. And maybe distro xyz has a mindblowing solution to all my problems but for the moment I am happy with what I have and not looking for yet another distrohopping and yet another point was whilst distrohopping it was soo easy that I could use the same install.sh containing all my favourite flatpak apps & the “applications” folder containing my favourite appimages no matter if I was on a Debian, RedHat, Arch, … based distribution.

      • @communism@lemmy.ml
        link
        fedilink
        08 months ago

        I never claimed I was trying to “sway over newbies”? Do what you want, this is just my personal preference.