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
45 Posts 14 Posters 0 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.
  • sxan@midwest.socialS [email protected]

    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.

    tsugu@slrpnk.netT This user is from outside of this forum
    tsugu@slrpnk.netT This user is from outside of this forum
    [email protected]
    wrote 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.

    sxan@midwest.socialS 1 Reply Last reply
    0
    • R [email protected]

      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
      [email protected]
      wrote last edited by
      #37

      Seriously? Very strong feelings XD

      makingstuffforfun@lemmy.mlM 1 Reply Last reply
      1
      • tsugu@slrpnk.netT [email protected]

        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
        [email protected]
        wrote last edited by [email protected]
        #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.

        tsugu@slrpnk.netT 1 Reply Last reply
        8
        • C [email protected]

          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.

          tsugu@slrpnk.netT This user is from outside of this forum
          tsugu@slrpnk.netT This user is from outside of this forum
          [email protected]
          wrote 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
          • tsugu@slrpnk.netT [email protected]

            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.

            sxan@midwest.socialS This user is from outside of this forum
            sxan@midwest.socialS This user is from outside of this forum
            [email protected]
            wrote 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 [email protected]

              Seriously? Very strong feelings XD

              makingstuffforfun@lemmy.mlM This user is from outside of this forum
              makingstuffforfun@lemmy.mlM This user is from outside of this forum
              [email protected]
              wrote 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
              • tsugu@slrpnk.netT [email protected]

                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
                [email protected]
                wrote 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!

                tsugu@slrpnk.netT 1 Reply Last reply
                5
                • T [email protected]

                  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!

                  tsugu@slrpnk.netT This user is from outside of this forum
                  tsugu@slrpnk.netT This user is from outside of this forum
                  [email protected]
                  wrote 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
                  2
                  • tsugu@slrpnk.netT [email protected]

                    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
                    [email protected]
                    wrote 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

                    tsugu@slrpnk.netT 1 Reply Last reply
                    2
                    • T [email protected]

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

                      tsugu@slrpnk.netT This user is from outside of this forum
                      tsugu@slrpnk.netT This user is from outside of this forum
                      [email protected]
                      wrote 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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

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