Hardware architecture for snaps





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.










share|improve this question





























    1















    I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.










    share|improve this question

























      1












      1








      1








      I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.










      share|improve this question














      I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.







      snap architecture






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 21 '16 at 19:35









      ChrisChris

      61




      61






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:




          • Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.


          • Build your snap on the (freely available) Launchpad snap builders: submit the project containing your snapcraft.yaml to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.



          Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.






          share|improve this answer































            0














            In the




            snapcraft.yaml




            file you can add the line architectures: [all]



            description: |
            This is the description.


            architectures: [all]

            apps: ...


            Your snap now will be created with the word all in the end.




            snapName_version_all.snap




            This indicate that the snap itself can be installed on all the architectures. (Not sure about working).






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f815058%2fhardware-architecture-for-snaps%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:




              • Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.


              • Build your snap on the (freely available) Launchpad snap builders: submit the project containing your snapcraft.yaml to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.



              Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.






              share|improve this answer




























                1














                Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:




                • Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.


                • Build your snap on the (freely available) Launchpad snap builders: submit the project containing your snapcraft.yaml to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.



                Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.






                share|improve this answer


























                  1












                  1








                  1







                  Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:




                  • Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.


                  • Build your snap on the (freely available) Launchpad snap builders: submit the project containing your snapcraft.yaml to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.



                  Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.






                  share|improve this answer













                  Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:




                  • Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.


                  • Build your snap on the (freely available) Launchpad snap builders: submit the project containing your snapcraft.yaml to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.



                  Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 21 '16 at 20:13









                  KyleKyle

                  4,4171621




                  4,4171621

























                      0














                      In the




                      snapcraft.yaml




                      file you can add the line architectures: [all]



                      description: |
                      This is the description.


                      architectures: [all]

                      apps: ...


                      Your snap now will be created with the word all in the end.




                      snapName_version_all.snap




                      This indicate that the snap itself can be installed on all the architectures. (Not sure about working).






                      share|improve this answer




























                        0














                        In the




                        snapcraft.yaml




                        file you can add the line architectures: [all]



                        description: |
                        This is the description.


                        architectures: [all]

                        apps: ...


                        Your snap now will be created with the word all in the end.




                        snapName_version_all.snap




                        This indicate that the snap itself can be installed on all the architectures. (Not sure about working).






                        share|improve this answer


























                          0












                          0








                          0







                          In the




                          snapcraft.yaml




                          file you can add the line architectures: [all]



                          description: |
                          This is the description.


                          architectures: [all]

                          apps: ...


                          Your snap now will be created with the word all in the end.




                          snapName_version_all.snap




                          This indicate that the snap itself can be installed on all the architectures. (Not sure about working).






                          share|improve this answer













                          In the




                          snapcraft.yaml




                          file you can add the line architectures: [all]



                          description: |
                          This is the description.


                          architectures: [all]

                          apps: ...


                          Your snap now will be created with the word all in the end.




                          snapName_version_all.snap




                          This indicate that the snap itself can be installed on all the architectures. (Not sure about working).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 days ago









                          guyguy

                          1014




                          1014






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f815058%2fhardware-architecture-for-snaps%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              GameSpot

                              connect to host localhost port 22: Connection refused

                              Getting a Wifi WPA2 wifi connection