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 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.
  • tsugu@slrpnk.netT [email protected]

    It's meant for people who prefer their apps from the official sources rather than repackaged. All this script dies is make it easy so you don't have to google the app's name and search for an install method on its website.

    thejevans@lemmy.mlT This user is from outside of this forum
    thejevans@lemmy.mlT This user is from outside of this forum
    [email protected]
    wrote last edited by
    #18

    right, that's what nix does if you build from source

    tsugu@slrpnk.netT 1 Reply Last reply
    2
    • thejevans@lemmy.mlT [email protected]

      right, that's what nix does if you build from source

      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
      #19

      If you want to build from source, this brings nothing of value. Nix has pretty much everything.

      thejevans@lemmy.mlT 1 Reply Last reply
      5
      • tsugu@slrpnk.netT [email protected]

        If you want to build from source, this brings nothing of value. Nix has pretty much everything.

        thejevans@lemmy.mlT This user is from outside of this forum
        thejevans@lemmy.mlT This user is from outside of this forum
        [email protected]
        wrote last edited by
        #20

        with that being the case, correct me if I'm wrong, but your pitch is that users should trust your manually compiled and maintained commands to install things because you're guaranteeing that the binaries being installed by your commands are from official sources, and that is better (in at least some cases) than cached binaries from something like nixpkgs, where the trust we are asked to give is that the cache is built correctly from source.

        tsugu@slrpnk.netT 1 Reply Last reply
        5
        • thejevans@lemmy.mlT [email protected]

          with that being the case, correct me if I'm wrong, but your pitch is that users should trust your manually compiled and maintained commands to install things because you're guaranteeing that the binaries being installed by your commands are from official sources, and that is better (in at least some cases) than cached binaries from something like nixpkgs, where the trust we are asked to give is that the cache is built correctly from source.

          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
          #21

          I like to get software directly from the developers, and this just makes it easier. I don't want to compile anything, and I don't mind any of the package formats. I just don't like that every app uses a different one so it's a pain in the ass to install them.

          Whether you trust the list not to execute malicious commands is up to you.

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

            But why choose snap only? Flatpak works on Ubuntu just fine, and on other distros obviously, so they could just choose that. Blender only officially support snap too. Vivaldi for example made a blog post about how snap has better sandboxing of chromium. https://social.vivaldi.net/@ruario/113164179328218870

            A This user is from outside of this forum
            A This user is from outside of this forum
            [email protected]
            wrote last edited by
            #22

            But why choose snap only?

            Because they don’t want to support flatpak.

            tsugu@slrpnk.netT 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.

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

              I like this idea, but with the increase in supply chain attacks, I'm reluctant to use it. I've been much more reticent about installing from AUR, and my use of github projects has drastically slowed down since I now feel as if I have to read all the source code for everything I get.

              I've sandboxed programs before, and I may just start making that standard practice, but still... it makes me angry. It's, like: this is why we can't have nice things. There are precious few OSS supply chain static code analysis tools, and there are a lot of languages I don't know well enough to review, or which have such broad or deep dependency trees that it's more work than it's worth. The most frustrating is the dampening effect it's having on OSS. It only pushes people to only use programs from big commercial companies.

              Anyway, none of that is directly related to your program, which is really cool. Sadly, if there aren't any positive developments in the OSS ecosystem for attacking the supply chain problem, cool projects like this are not going into my toolbox.

              tsugu@slrpnk.netT 1 Reply Last reply
              13
              • A [email protected]

                But why choose snap only?

                Because they don’t want to support flatpak.

                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
                #24

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

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

                  I like this idea, but with the increase in supply chain attacks, I'm reluctant to use it. I've been much more reticent about installing from AUR, and my use of github projects has drastically slowed down since I now feel as if I have to read all the source code for everything I get.

                  I've sandboxed programs before, and I may just start making that standard practice, but still... it makes me angry. It's, like: this is why we can't have nice things. There are precious few OSS supply chain static code analysis tools, and there are a lot of languages I don't know well enough to review, or which have such broad or deep dependency trees that it's more work than it's worth. The most frustrating is the dampening effect it's having on OSS. It only pushes people to only use programs from big commercial companies.

                  Anyway, none of that is directly related to your program, which is really cool. Sadly, if there aren't any positive developments in the OSS ecosystem for attacking the supply chain problem, cool projects like this are not going into my toolbox.

                  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
                  #25

                  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.

                  sxan@midwest.socialS 1 Reply Last reply
                  4
                  • tsugu@slrpnk.netT [email protected]

                    I understand that people treat snap as if it was a contagious virus but the developers chose the method purposely. A lot of KDE apps are only distributed as snaps for example, k3b comes to mind. VLC as well.

                    There are flatpak versions but they aren't official, which defeats the point a bit.

                    I do however plan to somehow add the ability to prefer flatpak, since a few of the entries have both a flatpak and snap field.

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #26

                    wild
                    A zoomed-in screenshot of the Arch User Repository pkgbuild for k3b with the find-in-page bar showing zero out of zero results for the string "snap"

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

                      wild
                      A zoomed-in screenshot of the Arch User Repository pkgbuild for k3b with the find-in-page bar showing zero out of zero results for the string "snap"

                      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
                      #27

                      https://snapcraft.io/k3b

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

                        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
                        [email protected]
                        wrote 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
                        • tsugu@slrpnk.netT [email protected]

                          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.

                          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
                          #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.

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

                            https://snapcraft.io/k3b

                            C This user is from outside of this forum
                            C This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #30

                            a lot of KDE packages are only distributed as snaps

                            tsugu@slrpnk.netT 1 Reply Last reply
                            0
                            • sxan@midwest.socialS [email protected]

                              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.

                              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
                              #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.

                              sxan@midwest.socialS 1 Reply Last reply
                              4
                              • C [email protected]

                                a lot of KDE packages are only distributed as snaps

                                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
                                #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
                                • 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.

                                  L This user is from outside of this forum
                                  L This user is from outside of this forum
                                  [email protected]
                                  wrote 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

                                  tsugu@slrpnk.netT 1 Reply Last reply
                                  10
                                  • L [email protected]

                                    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

                                    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
                                    #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
                                    • tsugu@slrpnk.netT [email protected]

                                      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.

                                      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
                                      #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.

                                      tsugu@slrpnk.netT 1 Reply Last reply
                                      3
                                      • 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
                                          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