How to install Wireshark












36















I am new to Linux and have a need to install Wireshark 2.0.0 on VirtualBox's Xubuntu 14.04.
I have already downloaded .tar.gz package and extracted it. Then I opened terminal in the wireshark folder and type /.configure with intention to follow it by make and sudo make install executions but the attempt as unsuccessful as sudo apt-get install wireshark.
Could somebody help me how to install Wireshark step by step, please?










share|improve this question




















  • 5





    What went wrong with sudo apt-get install wireshark?

    – muru
    Nov 21 '15 at 10:01











  • dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    – Stanislav Jirák
    Nov 21 '15 at 10:23











  • @StanislavJirák cat /etc/sources

    – Gayan Weerakutti
    Nov 21 '15 at 10:52











  • cat: /etc/sources: No such file or directory

    – Stanislav Jirák
    Nov 21 '15 at 12:31











  • @reversiblean cat /etc/apt/sources.list

    – Neil
    Nov 22 '15 at 0:03
















36















I am new to Linux and have a need to install Wireshark 2.0.0 on VirtualBox's Xubuntu 14.04.
I have already downloaded .tar.gz package and extracted it. Then I opened terminal in the wireshark folder and type /.configure with intention to follow it by make and sudo make install executions but the attempt as unsuccessful as sudo apt-get install wireshark.
Could somebody help me how to install Wireshark step by step, please?










share|improve this question




















  • 5





    What went wrong with sudo apt-get install wireshark?

    – muru
    Nov 21 '15 at 10:01











  • dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    – Stanislav Jirák
    Nov 21 '15 at 10:23











  • @StanislavJirák cat /etc/sources

    – Gayan Weerakutti
    Nov 21 '15 at 10:52











  • cat: /etc/sources: No such file or directory

    – Stanislav Jirák
    Nov 21 '15 at 12:31











  • @reversiblean cat /etc/apt/sources.list

    – Neil
    Nov 22 '15 at 0:03














36












36








36


8






I am new to Linux and have a need to install Wireshark 2.0.0 on VirtualBox's Xubuntu 14.04.
I have already downloaded .tar.gz package and extracted it. Then I opened terminal in the wireshark folder and type /.configure with intention to follow it by make and sudo make install executions but the attempt as unsuccessful as sudo apt-get install wireshark.
Could somebody help me how to install Wireshark step by step, please?










share|improve this question
















I am new to Linux and have a need to install Wireshark 2.0.0 on VirtualBox's Xubuntu 14.04.
I have already downloaded .tar.gz package and extracted it. Then I opened terminal in the wireshark folder and type /.configure with intention to follow it by make and sudo make install executions but the attempt as unsuccessful as sudo apt-get install wireshark.
Could somebody help me how to install Wireshark step by step, please?







wireshark






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '15 at 10:00









muru

1




1










asked Nov 21 '15 at 9:50









Stanislav JirákStanislav Jirák

181124




181124








  • 5





    What went wrong with sudo apt-get install wireshark?

    – muru
    Nov 21 '15 at 10:01











  • dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    – Stanislav Jirák
    Nov 21 '15 at 10:23











  • @StanislavJirák cat /etc/sources

    – Gayan Weerakutti
    Nov 21 '15 at 10:52











  • cat: /etc/sources: No such file or directory

    – Stanislav Jirák
    Nov 21 '15 at 12:31











  • @reversiblean cat /etc/apt/sources.list

    – Neil
    Nov 22 '15 at 0:03














  • 5





    What went wrong with sudo apt-get install wireshark?

    – muru
    Nov 21 '15 at 10:01











  • dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

    – Stanislav Jirák
    Nov 21 '15 at 10:23











  • @StanislavJirák cat /etc/sources

    – Gayan Weerakutti
    Nov 21 '15 at 10:52











  • cat: /etc/sources: No such file or directory

    – Stanislav Jirák
    Nov 21 '15 at 12:31











  • @reversiblean cat /etc/apt/sources.list

    – Neil
    Nov 22 '15 at 0:03








5




5





What went wrong with sudo apt-get install wireshark?

– muru
Nov 21 '15 at 10:01





What went wrong with sudo apt-get install wireshark?

– muru
Nov 21 '15 at 10:01













dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

– Stanislav Jirák
Nov 21 '15 at 10:23





dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

– Stanislav Jirák
Nov 21 '15 at 10:23













@StanislavJirák cat /etc/sources

– Gayan Weerakutti
Nov 21 '15 at 10:52





@StanislavJirák cat /etc/sources

– Gayan Weerakutti
Nov 21 '15 at 10:52













cat: /etc/sources: No such file or directory

– Stanislav Jirák
Nov 21 '15 at 12:31





cat: /etc/sources: No such file or directory

– Stanislav Jirák
Nov 21 '15 at 12:31













@reversiblean cat /etc/apt/sources.list

– Neil
Nov 22 '15 at 0:03





@reversiblean cat /etc/apt/sources.list

– Neil
Nov 22 '15 at 0:03










4 Answers
4






active

oldest

votes


















49














Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:



sudo add-apt-repository ppa:wireshark-dev/stable


Step 2: Update the repository:



sudo apt-get update


Step 3: Install wireshark 2.0:



sudo apt-get install wireshark


Step 4: Run wireshark:



sudo wireshark


If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied. go to the terminal again and run:



sudo dpkg-reconfigure wireshark-common


Say YES to the message box. This adds a wireshark group. Then add user to the group by typing



sudo adduser $USER wireshark


Then restart your machine and open wireshark. It works. Good Luck.






share|improve this answer


























  • This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

    – Nagev
    Apr 17 '18 at 8:38











  • If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

    – Abhishek Kashyap
    Nov 5 '18 at 9:26



















4














Open terminal and type the commands:




  1. sudo apt-get install wireshark


  2. sudo dpkg-reconfigure wireshark-common


  3. sudo adduser $USER wireshark


  4. wireshark



if you getting wireshark running error, so close it and then just do the following




  1. Go to usr/share/wireshark


  2. Open init.lua with a text editor


  3. Change disable_lua = false to disable_lua = true







share|improve this answer
























  • Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

    – Thomas Ward
    Jul 30 '18 at 20:20



















2














To do this, go to terminal by pressing Ctrl+Alt+T and run:



sudo apt install wireshark


Apt should take care of all of the dependency issues for you.



Use the following command to install downloaded Wireshark debs:



dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb


dpkg doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running



sudo apt install -f





share|improve this answer

































    1














    To add to Thusitha's answer, in Step 4 you either run as sudo or if you do not want to run all processes as root, then you set the message box to 'YES' (to install dumpcap in such a way that it allows users of the wireshark group to run it without sudo) and add user to wireshark group. (be sure to log out and log in before running wireshark so that the group privileges are reloaded). You can then just run wireshark without root.






    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%2f700712%2fhow-to-install-wireshark%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      49














      Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:



      sudo add-apt-repository ppa:wireshark-dev/stable


      Step 2: Update the repository:



      sudo apt-get update


      Step 3: Install wireshark 2.0:



      sudo apt-get install wireshark


      Step 4: Run wireshark:



      sudo wireshark


      If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied. go to the terminal again and run:



      sudo dpkg-reconfigure wireshark-common


      Say YES to the message box. This adds a wireshark group. Then add user to the group by typing



      sudo adduser $USER wireshark


      Then restart your machine and open wireshark. It works. Good Luck.






      share|improve this answer


























      • This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

        – Nagev
        Apr 17 '18 at 8:38











      • If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

        – Abhishek Kashyap
        Nov 5 '18 at 9:26
















      49














      Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:



      sudo add-apt-repository ppa:wireshark-dev/stable


      Step 2: Update the repository:



      sudo apt-get update


      Step 3: Install wireshark 2.0:



      sudo apt-get install wireshark


      Step 4: Run wireshark:



      sudo wireshark


      If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied. go to the terminal again and run:



      sudo dpkg-reconfigure wireshark-common


      Say YES to the message box. This adds a wireshark group. Then add user to the group by typing



      sudo adduser $USER wireshark


      Then restart your machine and open wireshark. It works. Good Luck.






      share|improve this answer


























      • This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

        – Nagev
        Apr 17 '18 at 8:38











      • If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

        – Abhishek Kashyap
        Nov 5 '18 at 9:26














      49












      49








      49







      Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:



      sudo add-apt-repository ppa:wireshark-dev/stable


      Step 2: Update the repository:



      sudo apt-get update


      Step 3: Install wireshark 2.0:



      sudo apt-get install wireshark


      Step 4: Run wireshark:



      sudo wireshark


      If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied. go to the terminal again and run:



      sudo dpkg-reconfigure wireshark-common


      Say YES to the message box. This adds a wireshark group. Then add user to the group by typing



      sudo adduser $USER wireshark


      Then restart your machine and open wireshark. It works. Good Luck.






      share|improve this answer















      Step 1: Add the stable official PPA. To do this, go to terminal by pressing Ctrl+Alt+T and run:



      sudo add-apt-repository ppa:wireshark-dev/stable


      Step 2: Update the repository:



      sudo apt-get update


      Step 3: Install wireshark 2.0:



      sudo apt-get install wireshark


      Step 4: Run wireshark:



      sudo wireshark


      If you get a error couldn't run /usr/bin/dumpcap in child process: Permission Denied. go to the terminal again and run:



      sudo dpkg-reconfigure wireshark-common


      Say YES to the message box. This adds a wireshark group. Then add user to the group by typing



      sudo adduser $USER wireshark


      Then restart your machine and open wireshark. It works. Good Luck.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Apr 11 '18 at 20:52









      Eliah Kagan

      82.4k22227368




      82.4k22227368










      answered May 27 '16 at 9:52









      Thusitha SumanadasaThusitha Sumanadasa

      896813




      896813













      • This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

        – Nagev
        Apr 17 '18 at 8:38











      • If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

        – Abhishek Kashyap
        Nov 5 '18 at 9:26



















      • This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

        – Nagev
        Apr 17 '18 at 8:38











      • If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

        – Abhishek Kashyap
        Nov 5 '18 at 9:26

















      This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

      – Nagev
      Apr 17 '18 at 8:38





      This seems to work, I see Setting up wireshark (2.4.4-1~16.04.0). But when I open it and do Help > About I see version 2.2.6 and it behaves quite differently from the one I have on Windows. For example, it mostly displays "unknown protocol". Am I missing something to get the latest version?

      – Nagev
      Apr 17 '18 at 8:38













      If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

      – Abhishek Kashyap
      Nov 5 '18 at 9:26





      If you don't want to restart your machine for now, you can do newgrp wireshark temporarily.

      – Abhishek Kashyap
      Nov 5 '18 at 9:26













      4














      Open terminal and type the commands:




      1. sudo apt-get install wireshark


      2. sudo dpkg-reconfigure wireshark-common


      3. sudo adduser $USER wireshark


      4. wireshark



      if you getting wireshark running error, so close it and then just do the following




      1. Go to usr/share/wireshark


      2. Open init.lua with a text editor


      3. Change disable_lua = false to disable_lua = true







      share|improve this answer
























      • Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

        – Thomas Ward
        Jul 30 '18 at 20:20
















      4














      Open terminal and type the commands:




      1. sudo apt-get install wireshark


      2. sudo dpkg-reconfigure wireshark-common


      3. sudo adduser $USER wireshark


      4. wireshark



      if you getting wireshark running error, so close it and then just do the following




      1. Go to usr/share/wireshark


      2. Open init.lua with a text editor


      3. Change disable_lua = false to disable_lua = true







      share|improve this answer
























      • Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

        – Thomas Ward
        Jul 30 '18 at 20:20














      4












      4








      4







      Open terminal and type the commands:




      1. sudo apt-get install wireshark


      2. sudo dpkg-reconfigure wireshark-common


      3. sudo adduser $USER wireshark


      4. wireshark



      if you getting wireshark running error, so close it and then just do the following




      1. Go to usr/share/wireshark


      2. Open init.lua with a text editor


      3. Change disable_lua = false to disable_lua = true







      share|improve this answer













      Open terminal and type the commands:




      1. sudo apt-get install wireshark


      2. sudo dpkg-reconfigure wireshark-common


      3. sudo adduser $USER wireshark


      4. wireshark



      if you getting wireshark running error, so close it and then just do the following




      1. Go to usr/share/wireshark


      2. Open init.lua with a text editor


      3. Change disable_lua = false to disable_lua = true








      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jul 30 '18 at 14:50









      mizzmizz

      412




      412













      • Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

        – Thomas Ward
        Jul 30 '18 at 20:20



















      • Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

        – Thomas Ward
        Jul 30 '18 at 20:20

















      Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

      – Thomas Ward
      Jul 30 '18 at 20:20





      Where's the evidence to support the LUA changing bits? This tends to work out of the box, and you don't really have to go altering installed package bits typically to get this to work.

      – Thomas Ward
      Jul 30 '18 at 20:20











      2














      To do this, go to terminal by pressing Ctrl+Alt+T and run:



      sudo apt install wireshark


      Apt should take care of all of the dependency issues for you.



      Use the following command to install downloaded Wireshark debs:



      dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb


      dpkg doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running



      sudo apt install -f





      share|improve this answer






























        2














        To do this, go to terminal by pressing Ctrl+Alt+T and run:



        sudo apt install wireshark


        Apt should take care of all of the dependency issues for you.



        Use the following command to install downloaded Wireshark debs:



        dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb


        dpkg doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running



        sudo apt install -f





        share|improve this answer




























          2












          2








          2







          To do this, go to terminal by pressing Ctrl+Alt+T and run:



          sudo apt install wireshark


          Apt should take care of all of the dependency issues for you.



          Use the following command to install downloaded Wireshark debs:



          dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb


          dpkg doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running



          sudo apt install -f





          share|improve this answer















          To do this, go to terminal by pressing Ctrl+Alt+T and run:



          sudo apt install wireshark


          Apt should take care of all of the dependency issues for you.



          Use the following command to install downloaded Wireshark debs:



          dpkg -i wireshark-common_2.0.5.0-1_i386.deb wireshark_wireshark-2.0.5.0-1_i386.deb


          dpkg doesn’t take care of all dependencies, but reports what’s missing. You can usually resolve problems by then running



          sudo apt install -f






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 10 at 20:54









          Zanna

          50.9k13136241




          50.9k13136241










          answered Feb 5 at 7:53









          Muhammad Bahroz AhmadMuhammad Bahroz Ahmad

          211




          211























              1














              To add to Thusitha's answer, in Step 4 you either run as sudo or if you do not want to run all processes as root, then you set the message box to 'YES' (to install dumpcap in such a way that it allows users of the wireshark group to run it without sudo) and add user to wireshark group. (be sure to log out and log in before running wireshark so that the group privileges are reloaded). You can then just run wireshark without root.






              share|improve this answer






























                1














                To add to Thusitha's answer, in Step 4 you either run as sudo or if you do not want to run all processes as root, then you set the message box to 'YES' (to install dumpcap in such a way that it allows users of the wireshark group to run it without sudo) and add user to wireshark group. (be sure to log out and log in before running wireshark so that the group privileges are reloaded). You can then just run wireshark without root.






                share|improve this answer




























                  1












                  1








                  1







                  To add to Thusitha's answer, in Step 4 you either run as sudo or if you do not want to run all processes as root, then you set the message box to 'YES' (to install dumpcap in such a way that it allows users of the wireshark group to run it without sudo) and add user to wireshark group. (be sure to log out and log in before running wireshark so that the group privileges are reloaded). You can then just run wireshark without root.






                  share|improve this answer















                  To add to Thusitha's answer, in Step 4 you either run as sudo or if you do not want to run all processes as root, then you set the message box to 'YES' (to install dumpcap in such a way that it allows users of the wireshark group to run it without sudo) and add user to wireshark group. (be sure to log out and log in before running wireshark so that the group privileges are reloaded). You can then just run wireshark without root.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 2 '17 at 8:06









                  Pierre.Vriens

                  1,13761116




                  1,13761116










                  answered Aug 2 '17 at 6:33









                  pooya13pooya13

                  111




                  111






























                      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%2f700712%2fhow-to-install-wireshark%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

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                      Eduardo VII do Reino Unido