How to install mosquitto with websockets on ubuntu 16.04





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







0















I am a complete beginner with Ubuntu and Mosquitto.



I've tried this and this tutorial. But I ended with libwebsocket3 is not installed. After that I realized that apt-get libwebsockets3 is not OK for 16.04 which is for 14.04 LTS.



What is the solution for 16.04?










share|improve this question














bumped to the homepage by Community 2 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    0















    I am a complete beginner with Ubuntu and Mosquitto.



    I've tried this and this tutorial. But I ended with libwebsocket3 is not installed. After that I realized that apt-get libwebsockets3 is not OK for 16.04 which is for 14.04 LTS.



    What is the solution for 16.04?










    share|improve this question














    bumped to the homepage by Community 2 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am a complete beginner with Ubuntu and Mosquitto.



      I've tried this and this tutorial. But I ended with libwebsocket3 is not installed. After that I realized that apt-get libwebsockets3 is not OK for 16.04 which is for 14.04 LTS.



      What is the solution for 16.04?










      share|improve this question














      I am a complete beginner with Ubuntu and Mosquitto.



      I've tried this and this tutorial. But I ended with libwebsocket3 is not installed. After that I realized that apt-get libwebsockets3 is not OK for 16.04 which is for 14.04 LTS.



      What is the solution for 16.04?







      16.04 software-installation websocket






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 29 '16 at 20:12









      İsmail Yavuzİsmail Yavuz

      11118




      11118





      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The official method for Mosquitto on Ubuntu is:




          • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa

          • sudo apt-get update

          • sudo apt-get install mosquitto


          Sources:




          1. https://mosquitto.org/download/

          2. https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa






          share|improve this answer
























          • Will I have websockets support?

            – İsmail Yavuz
            Nov 29 '16 at 20:30











          • Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

            – İsmail Yavuz
            Nov 29 '16 at 20:32






          • 1





            According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

            – ThatGuy
            Nov 29 '16 at 20:33











          • If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

            – ThatGuy
            Nov 29 '16 at 20:33






          • 1





            Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

            – ThatGuy
            Nov 29 '16 at 21:07












          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%2f855087%2fhow-to-install-mosquitto-with-websockets-on-ubuntu-16-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The official method for Mosquitto on Ubuntu is:




          • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa

          • sudo apt-get update

          • sudo apt-get install mosquitto


          Sources:




          1. https://mosquitto.org/download/

          2. https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa






          share|improve this answer
























          • Will I have websockets support?

            – İsmail Yavuz
            Nov 29 '16 at 20:30











          • Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

            – İsmail Yavuz
            Nov 29 '16 at 20:32






          • 1





            According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

            – ThatGuy
            Nov 29 '16 at 20:33











          • If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

            – ThatGuy
            Nov 29 '16 at 20:33






          • 1





            Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

            – ThatGuy
            Nov 29 '16 at 21:07
















          0














          The official method for Mosquitto on Ubuntu is:




          • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa

          • sudo apt-get update

          • sudo apt-get install mosquitto


          Sources:




          1. https://mosquitto.org/download/

          2. https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa






          share|improve this answer
























          • Will I have websockets support?

            – İsmail Yavuz
            Nov 29 '16 at 20:30











          • Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

            – İsmail Yavuz
            Nov 29 '16 at 20:32






          • 1





            According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

            – ThatGuy
            Nov 29 '16 at 20:33











          • If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

            – ThatGuy
            Nov 29 '16 at 20:33






          • 1





            Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

            – ThatGuy
            Nov 29 '16 at 21:07














          0












          0








          0







          The official method for Mosquitto on Ubuntu is:




          • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa

          • sudo apt-get update

          • sudo apt-get install mosquitto


          Sources:




          1. https://mosquitto.org/download/

          2. https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa






          share|improve this answer













          The official method for Mosquitto on Ubuntu is:




          • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa

          • sudo apt-get update

          • sudo apt-get install mosquitto


          Sources:




          1. https://mosquitto.org/download/

          2. https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 29 '16 at 20:26









          ThatGuyThatGuy

          3,57311033




          3,57311033













          • Will I have websockets support?

            – İsmail Yavuz
            Nov 29 '16 at 20:30











          • Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

            – İsmail Yavuz
            Nov 29 '16 at 20:32






          • 1





            According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

            – ThatGuy
            Nov 29 '16 at 20:33











          • If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

            – ThatGuy
            Nov 29 '16 at 20:33






          • 1





            Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

            – ThatGuy
            Nov 29 '16 at 21:07



















          • Will I have websockets support?

            – İsmail Yavuz
            Nov 29 '16 at 20:30











          • Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

            – İsmail Yavuz
            Nov 29 '16 at 20:32






          • 1





            According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

            – ThatGuy
            Nov 29 '16 at 20:33











          • If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

            – ThatGuy
            Nov 29 '16 at 20:33






          • 1





            Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

            – ThatGuy
            Nov 29 '16 at 21:07

















          Will I have websockets support?

          – İsmail Yavuz
          Nov 29 '16 at 20:30





          Will I have websockets support?

          – İsmail Yavuz
          Nov 29 '16 at 20:30













          Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

          – İsmail Yavuz
          Nov 29 '16 at 20:32





          Here is my error messages: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mosquitto : Depends: libwebsockets3 (>= 1.2) but it is not installable E: Unable to correct problems, you have held broken packages.

          – İsmail Yavuz
          Nov 29 '16 at 20:32




          1




          1





          According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

          – ThatGuy
          Nov 29 '16 at 20:33





          According to mosquitto.org/man/mosquitto-conf-5.html, it's inherent. It comes down to your server setup, not Mosquitto. Mosquitto already supports it, and is an allowable protocol in the conf. But it the environment doesn't support it, then it wont work.

          – ThatGuy
          Nov 29 '16 at 20:33













          If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

          – ThatGuy
          Nov 29 '16 at 20:33





          If you have held or broken packages, that's to do with apt, and you need to resolve that before you proceed.

          – ThatGuy
          Nov 29 '16 at 20:33




          1




          1





          Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

          – ThatGuy
          Nov 29 '16 at 21:07





          Assuming you're using Ubuntu 16.04 64bit: You can get the deb file here: launchpadlibrarian.net/141030801/…

          – ThatGuy
          Nov 29 '16 at 21:07


















          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%2f855087%2fhow-to-install-mosquitto-with-websockets-on-ubuntu-16-04%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

          日野市

          Tu-95轟炸機