Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Open Source
  3. I created a script for installing Linux apps from their official sources

I created a script for installing Linux apps from their official sources

Scheduled Pinned Locked Moved Open Source
opensource
47 Posts 16 Posters 10 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T tsugu@slrpnk.net
    22 May 2025, 21:46

    Well then that has nothing to do with Canonical forcing developers to use snap if they want to appear in the software centre.

    A This user is from outside of this forum
    A This user is from outside of this forum
    ataridump@lemmy.world
    wrote on 23 May 2025, 00:10 last edited by
    #28

    Canonical created snap; of course they’re going to push it.

    It’d be like if Sony created BluRay and then didn’t do any market/sponsorship/etc.

    1 Reply Last reply
    0
    • T tsugu@slrpnk.net
      22 May 2025, 21:51

      That's understandable. Truth be told I probably wouldn't trust this either if I didn't make it. Anything can be hiding in the custom field.

      S This user is from outside of this forum
      S This user is from outside of this forum
      sxan@midwest.social
      wrote on 23 May 2025, 00:51 last edited by
      #29

      Now I'm wondering, if it were bundled with an OCI sandboxing system, that would address my issues with Flatpack and Snap. Technology has moved on and Flatpack has stagnated, and Snap's just an attempt to centralize control and distribution. It's time for a redesign, specifically focusing on supply chain attacks, with sandboxing all the way down.

      T 1 Reply Last reply 23 May 2025, 05:44
      3
      • T tsugu@slrpnk.net
        22 May 2025, 22:14

        https://snapcraft.io/k3b

        C This user is from outside of this forum
        C This user is from outside of this forum
        caseyweederman@lemmy.ca
        wrote on 23 May 2025, 01:03 last edited by
        #30

        a lot of KDE packages are only distributed as snaps

        T 1 Reply Last reply 23 May 2025, 05:46
        0
        • S sxan@midwest.social
          23 May 2025, 00:51

          Now I'm wondering, if it were bundled with an OCI sandboxing system, that would address my issues with Flatpack and Snap. Technology has moved on and Flatpack has stagnated, and Snap's just an attempt to centralize control and distribution. It's time for a redesign, specifically focusing on supply chain attacks, with sandboxing all the way down.

          T This user is from outside of this forum
          T This user is from outside of this forum
          tsugu@slrpnk.net
          wrote on 23 May 2025, 05:44 last edited by
          #31

          What do you mean by stagnated? I don't keep up with its development but it seems pretty feature-complete.

          If developers move on to something else I will modify the database accordingly. But as long as snap and flatpak are the official methods they will stay.

          S 1 Reply Last reply 23 May 2025, 13:17
          4
          • C caseyweederman@lemmy.ca
            23 May 2025, 01:03

            a lot of KDE packages are only distributed as snaps

            T This user is from outside of this forum
            T This user is from outside of this forum
            tsugu@slrpnk.net
            wrote on 23 May 2025, 05:46 last edited by
            #32

            Well guess what, I don't use or want to use Arch. Pretty sure there's a nix recipe too, possibly a Void or FreeBSD one too. They aren't maintaind by KDE itself.

            1 Reply Last reply
            1
            • T tsugu@slrpnk.net
              22 May 2025, 19:16

              I created a script that always installs apps from their official source

              https://github.com/Tsu-gu/appfetch/

              It's a proof of concept of an idea I had a while ago. I dislike having to hunt down apps for my Linux machine when I want them from an official source. Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

              I created a yaml file with only verified apps from flathub and snapcraft, and added a few apps outside of them that I could think of.

              The ultimate goal is the user just typing the names of what they want, and the script will just get it. They shouldn't waste time with picking the right source.

              L This user is from outside of this forum
              L This user is from outside of this forum
              luffy879@lemmy.ml
              wrote on 23 May 2025, 09:38 last edited by
              #33

              Obtainium works in Android, because all the apks have their own Libraries already included, and bc android itself is Immutable

              Take that into a mutable system like Linux, and you get break my Gentoo if you didnt even have the great anti dep hell functionality of portage

              T 1 Reply Last reply 23 May 2025, 12:28
              10
              • L luffy879@lemmy.ml
                23 May 2025, 09:38

                Obtainium works in Android, because all the apks have their own Libraries already included, and bc android itself is Immutable

                Take that into a mutable system like Linux, and you get break my Gentoo if you didnt even have the great anti dep hell functionality of portage

                T This user is from outside of this forum
                T This user is from outside of this forum
                tsugu@slrpnk.net
                wrote on 23 May 2025, 12:28 last edited by
                #34

                Android works much better, no doubt in that regard, but I think the chance of this script breaking your system is very low. The vast majority of the apps are flatpaks, then snaps, tarballs, AppImages, and only then a few .debs. I try to avoid them because even if you are on Debian/Ubuntu after a few years your version will stop being supported, whereas snaps will continue to work for 10 years.

                1 Reply Last reply
                3
                • T tsugu@slrpnk.net
                  23 May 2025, 05:44

                  What do you mean by stagnated? I don't keep up with its development but it seems pretty feature-complete.

                  If developers move on to something else I will modify the database accordingly. But as long as snap and flatpak are the official methods they will stay.

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  sxan@midwest.social
                  wrote on 23 May 2025, 13:17 last edited by
                  #35

                  Ironically, it's been in the news lately because of a talk given at LAS. Here's a breakdown of the video, for people like myself who hate watching talking heads.

                  Basically, development on Flatpak core has mostly stalled. And there's a lot of work yet to be done; efforts to rebase it on OSI, for instance.

                  Nobody's claiming it's dead; it's popular and widely used by a lot of people - it's just that nobody is actively maintaining the Flatpak project anymore.

                  T 1 Reply Last reply 23 May 2025, 14:33
                  3
                  • S sxan@midwest.social
                    23 May 2025, 13:17

                    Ironically, it's been in the news lately because of a talk given at LAS. Here's a breakdown of the video, for people like myself who hate watching talking heads.

                    Basically, development on Flatpak core has mostly stalled. And there's a lot of work yet to be done; efforts to rebase it on OSI, for instance.

                    Nobody's claiming it's dead; it's popular and widely used by a lot of people - it's just that nobody is actively maintaining the Flatpak project anymore.

                    T This user is from outside of this forum
                    T This user is from outside of this forum
                    tsugu@slrpnk.net
                    wrote on 23 May 2025, 14:33 last edited by
                    #36

                    This is concerning. Hopefully they manage to keep it running as if the standard for packaging software on Linux disappears, companies would return to tarballs.

                    S 1 Reply Last reply 23 May 2025, 19:24
                    0
                    • R redlemace@lemmy.world
                      22 May 2025, 19:33

                      I like the idea ! And looked at the project on github. But ..... snap disgust me so much more than searching the right source, i'm not adapting to it. But still nice thinking!

                      H This user is from outside of this forum
                      H This user is from outside of this forum
                      hepp3n@lemmy.ml
                      wrote on 23 May 2025, 14:49 last edited by
                      #37

                      Seriously? Very strong feelings XD

                      M 1 Reply Last reply 24 May 2025, 02:29
                      1
                      • T tsugu@slrpnk.net
                        22 May 2025, 19:16

                        I created a script that always installs apps from their official source

                        https://github.com/Tsu-gu/appfetch/

                        It's a proof of concept of an idea I had a while ago. I dislike having to hunt down apps for my Linux machine when I want them from an official source. Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

                        I created a yaml file with only verified apps from flathub and snapcraft, and added a few apps outside of them that I could think of.

                        The ultimate goal is the user just typing the names of what they want, and the script will just get it. They shouldn't waste time with picking the right source.

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        corsicanguppy@lemmy.ca
                        wrote on 23 May 2025, 14:57 last edited by corsicanguppy@lemmy.ca
                        #38

                        Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

                        1. tarballs - heckle the devs to make a proper package
                        2. debs - this is a package, but its format makes it weak
                        3. flatpaks - discard this unvalidatable crap
                        4. snaps - discard this unvalidatable crap

                        just

                        sus.

                        typing the names of what they want, and the script will just get it.

                        apt-get install <some app> (thank you, Conectiva)

                        This is how it should be. This is how it was. The sooner we leave this swamp of quicksand packaging, the better.

                        T 1 Reply Last reply 23 May 2025, 15:21
                        8
                        • C corsicanguppy@lemmy.ca
                          23 May 2025, 14:57

                          Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

                          1. tarballs - heckle the devs to make a proper package
                          2. debs - this is a package, but its format makes it weak
                          3. flatpaks - discard this unvalidatable crap
                          4. snaps - discard this unvalidatable crap

                          just

                          sus.

                          typing the names of what they want, and the script will just get it.

                          apt-get install <some app> (thank you, Conectiva)

                          This is how it should be. This is how it was. The sooner we leave this swamp of quicksand packaging, the better.

                          T This user is from outside of this forum
                          T This user is from outside of this forum
                          tsugu@slrpnk.net
                          wrote on 23 May 2025, 15:21 last edited by
                          #39

                          I like the separation between system packages and apps. A random system library being out of date doesn't matter to me as long as it receives security patches. But I will not use out of date GUI apps when I don't have to.

                          1 Reply Last reply
                          2
                          • T tsugu@slrpnk.net
                            23 May 2025, 14:33

                            This is concerning. Hopefully they manage to keep it running as if the standard for packaging software on Linux disappears, companies would return to tarballs.

                            S This user is from outside of this forum
                            S This user is from outside of this forum
                            sxan@midwest.social
                            wrote on 23 May 2025, 19:24 last edited by
                            #40

                            Someone will probably step up. It sound like the big blocker is governance - there are people willing to contribute, but whomever has control is not doing a good job of administering the project. At least, that's what I read between the lines.

                            Someone will probably fork it, get popular, then suddenly the original maintainers will find motivation, try to scramble to regain directional control, and be discarded because everyone lost faith in them.

                            Or, we're really about due for a new generation. Snap's a hot pile of steaming shit, Nix is simply awful for package managers to work with, Flatpak is directionless, Guix is like every other big GNU failed attempt to be an also-ran, and a lot of lessons have been learned from all of these. I expect someone will come out with something cleaner, leaner, and without all of the baggage; maybe with some backwards compatability with Snap, Flatpak, and AppImage packages.

                            Maybe not, but the situation is ripe for something like that. Just don't let it be based on god damned Lisp. I respect the hell out of Lisp and Lisp machines, but I absolutely hate having to work with it.

                            1 Reply Last reply
                            0
                            • H hepp3n@lemmy.ml
                              23 May 2025, 14:49

                              Seriously? Very strong feelings XD

                              M This user is from outside of this forum
                              M This user is from outside of this forum
                              makingstuffforfun@lemmy.ml
                              wrote on 24 May 2025, 02:29 last edited by
                              #41

                              Same here. I switched to Debian, pop and fedora on my machines to escape the snap control.

                              1 Reply Last reply
                              0
                              • T tsugu@slrpnk.net
                                22 May 2025, 19:16

                                I created a script that always installs apps from their official source

                                https://github.com/Tsu-gu/appfetch/

                                It's a proof of concept of an idea I had a while ago. I dislike having to hunt down apps for my Linux machine when I want them from an official source. Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

                                I created a yaml file with only verified apps from flathub and snapcraft, and added a few apps outside of them that I could think of.

                                The ultimate goal is the user just typing the names of what they want, and the script will just get it. They shouldn't waste time with picking the right source.

                                T This user is from outside of this forum
                                T This user is from outside of this forum
                                tiddy@sh.itjust.works
                                wrote on 24 May 2025, 03:21 last edited by
                                #42

                                Its cool to see this xkcd in action.

                                That being said theres a couple options out here attempting the same thing, but due to the required level of trust youre fighting a bit of an uphill battle for widespread adoption.

                                Not that this changes how cool of a tool it is and valuable for you use case!

                                T 1 Reply Last reply 24 May 2025, 05:27
                                5
                                • T tiddy@sh.itjust.works
                                  24 May 2025, 03:21

                                  Its cool to see this xkcd in action.

                                  That being said theres a couple options out here attempting the same thing, but due to the required level of trust youre fighting a bit of an uphill battle for widespread adoption.

                                  Not that this changes how cool of a tool it is and valuable for you use case!

                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  tsugu@slrpnk.net
                                  wrote on 24 May 2025, 05:27 last edited by
                                  #43

                                  Could you link some of those other options? I tried searching for something similar and found nothing. I know about LURE which got abandoned and didn't have the same goal.

                                  T 1 Reply Last reply 24 May 2025, 13:19
                                  2
                                  • T tsugu@slrpnk.net
                                    24 May 2025, 05:27

                                    Could you link some of those other options? I tried searching for something similar and found nothing. I know about LURE which got abandoned and didn't have the same goal.

                                    T This user is from outside of this forum
                                    T This user is from outside of this forum
                                    tiddy@sh.itjust.works
                                    wrote on 24 May 2025, 13:19 last edited by
                                    #44

                                    Heres the biggest and most active I could quickly find, but I believe the XKCD in that repo inspired a handful of similar projects

                                    T 1 Reply Last reply 25 May 2025, 10:25
                                    2
                                    • T tiddy@sh.itjust.works
                                      24 May 2025, 13:19

                                      Heres the biggest and most active I could quickly find, but I believe the XKCD in that repo inspired a handful of similar projects

                                      T This user is from outside of this forum
                                      T This user is from outside of this forum
                                      tsugu@slrpnk.net
                                      wrote on 25 May 2025, 10:25 last edited by
                                      #45

                                      I did check it out and it's really cool, but here's the big difference

                                      I want to install audacity and it ran all of the commands for search via the package managers. My script will do this:

                                      Check the database and finds an entry I made, because as it turns out, the only official audacity package is an AppImage built for Ubuntu 22.04. So it launches a command that retrieves the latest AppImage even if I don't update the database as it tries to fetch the latest version number and download the appimage based on that.

                                      Ignore the .1, this is from a VM I test the app on and it's a mess

                                      TLDR: mpm runs search commands for all package manager, my script's database was created manually. This means a lot of apps will be missing but when I come across something that's not there, I add it. Whether this approach is a good idea in the long run, I don't know. I just felt like creating a proof of concept of the idea.

                                      1 Reply Last reply
                                      1
                                      • R redlemace@lemmy.world
                                        22 May 2025, 19:33

                                        I like the idea ! And looked at the project on github. But ..... snap disgust me so much more than searching the right source, i'm not adapting to it. But still nice thinking!

                                        F This user is from outside of this forum
                                        F This user is from outside of this forum
                                        fmstrat@lemmy.nowsci.com
                                        wrote on 29 May 2025, 01:19 last edited by
                                        #46

                                        Try https://github.com/Fmstrat/gam?

                                        Same idea as this but specific to source releases

                                        1 Reply Last reply
                                        0
                                        • T tsugu@slrpnk.net
                                          22 May 2025, 19:16

                                          I created a script that always installs apps from their official source

                                          https://github.com/Tsu-gu/appfetch/

                                          It's a proof of concept of an idea I had a while ago. I dislike having to hunt down apps for my Linux machine when I want them from an official source. Some apps are packages as tarballs, some as .debs, some as install scripts that download a binary, some are flatpaks and snaps.

                                          I created a yaml file with only verified apps from flathub and snapcraft, and added a few apps outside of them that I could think of.

                                          The ultimate goal is the user just typing the names of what they want, and the script will just get it. They shouldn't waste time with picking the right source.

                                          I This user is from outside of this forum
                                          I This user is from outside of this forum
                                          iddqd404@lemmy.ml
                                          wrote on 29 May 2025, 11:18 last edited by
                                          #47

                                          I also like the idea of installing software "as intended by their developers" and I don't like Linux distros that make a lot of changes and customizations. That's why I like Slackware for example, a distro that remains "pure" and intervenes as little as possible.

                                          Good idea!

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes

                                          37/47

                                          23 May 2025, 14:49


                                          • Login

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          37 out of 47
                                          • First post
                                            37/47
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups