{"id":48182,"date":"2025-02-22T14:44:59","date_gmt":"2025-02-22T14:44:59","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48182"},"modified":"2025-07-22T11:10:30","modified_gmt":"2025-07-22T11:10:30","slug":"install-latest-wireshark-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/02\/install-latest-wireshark-ubuntu\/","title":{"rendered":"How to Install Latest Wireshark 4.4.8 in Ubuntu 24.04 | 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-48184\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-logo-1.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a step by step beginner&#8217;s guide shows how to install and setup the latest Wireshark network protocol analyzer software (v4.4.8 updated) in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, and Linux Mint 22\/21.<\/p>\n<p>Wireshark is a popular free open-source software to capture and display real-time details of network traffic. It&#8217;s available in Ubuntu system repository, but old.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48185\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing-700x423.webp\" alt=\"\" width=\"610\" height=\"369\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing-700x423.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing-300x181.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing-768x464.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-capturing.webp 1044w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h3>Step 1: Install Wireshark<\/h3>\n<p>There&#8217;s a community maintained <a href=\"https:\/\/launchpad.net\/~wireshark-dev\/+archive\/ubuntu\/stable\" target=\"_blank\" rel=\"noopener\">PPA repository<\/a> that contains most recent Wireshark for Ubuntu 20.04, 22.04, 24.04, <del datetime=\"2025-07-22T11:09:30+00:00\">24.10<\/del>, and 25.04 on Intel\/AMD and arm64 CPUs.<\/p>\n<p>1. To add the PPA, press <code>Ctrl+Alt+T<\/code> to open up a terminal window and run command:<\/p>\n<pre>sudo add-apt-repository ppa:wireshark-dev\/stable<\/pre>\n<p><i>Type user password when it asks (no visual feedback) and hit Enter to continue<\/i>. Linux Mint user can open &#8220;Software Sources&#8221; instead, navigate to &#8220;PPAs&#8221; tab, click &#8216;Add&#8217; and input <code>ppa:wireshark-dev\/stable<\/code> to add the PPA.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-ppa.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48186\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-ppa-700x453.webp\" alt=\"\" width=\"610\" height=\"395\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-ppa-700x453.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-ppa-300x194.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-ppa.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. After adding PPA, run the command below to install the wireshark package:<\/p>\n<pre>sudo apt install wireshark<\/pre>\n<p><i>For Linux Mint, you need to run <code>sudo apt update<\/code> to refresh package cache first.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/apt-wireshark.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48187\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/apt-wireshark-700x384.webp\" alt=\"\" width=\"610\" height=\"335\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/apt-wireshark-700x384.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/apt-wireshark-300x164.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/apt-wireshark.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>With the PPA repository, you can keep wireshark up-to-date by either running the last command again and again (need refresh cache of course), or installing updates using Software Updater (Update Manager).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/upgrade-wireshark.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48188\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/upgrade-wireshark-700x558.webp\" alt=\"\" width=\"610\" height=\"486\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/upgrade-wireshark-700x558.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/upgrade-wireshark-300x239.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/upgrade-wireshark.webp 722w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Step 2: Add user to wireshark group to fix permission issue<\/h3>\n<p>Due to permission issue, you may get &#8220;<i>Couldn&#8217;t run dumpcap in child process: Permission denied<\/i>&#8221; error when running wireshark with normal user privilege.<\/p>\n<p>To workaround it, you may either run <code>sudo wireshark<\/code> form terminal to start the app with super user privilege, or run command below to add your current user into wireshark group:<\/p>\n<pre>sudo gpasswd --add $USER wireshark<\/pre>\n<p>Here <code>$USER<\/code> will return the current user name. You may replace it to add other users into that group.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-addgroup.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48189\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-addgroup-700x237.webp\" alt=\"\" width=\"610\" height=\"207\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-addgroup-700x237.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-addgroup-300x102.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-addgroup.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>when done, restart computer to apply change.<\/p>\n<h3>Step 3: Fix missing app icon in the dock<\/h3>\n<p>In Ubuntu 24.04, some apps including wireshark miss their logo icons on the dock. Instead, it displays an universal gear icon with gray square background.<\/p>\n<p>To fix the issue, simply add <code>StartupWMClass<\/code> string in the associated .desktop config file. And, here&#8217;s how to do the trick for wireshark.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-missicon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-48190\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-missicon.webp\" alt=\"\" width=\"502\" height=\"357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-missicon.webp 502w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-missicon-300x213.webp 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/a><\/p>\n<p>First, press <code>Ctrl+Alt+T<\/code> to open up a terminal window. When it opens, run command to edit the .desktop file for wireshark:<\/p>\n<pre>sudo gnome-text-editor \/usr\/share\/applications\/org.wireshark.Wireshark.desktop<\/pre>\n<p><i>Here you may replace <code>gnome-text-editor<\/code> with your favorite text editor, or use <code>nano<\/code> that works in most desktops.<\/i><\/p>\n<p>When file opens, add <b>StartupWMClass=Wireshark<\/b> in the end and save. For nano, press Ctrl+S to save and Ctrl+X to exit.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48191\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass-700x401.webp\" alt=\"\" width=\"610\" height=\"349\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass-700x401.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass-300x172.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass-768x440.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-wmclass.webp 873w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally, re-launch the app to apply change.<\/p>\n<h3>Step 4: Start wireshark and capture your network interface<\/h3>\n<p>Now launch wireshark either from system start menu or by running <code>wireshark<\/code> command from terminal.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/launch-wireshark.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-48194\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/launch-wireshark.webp\" alt=\"\" width=\"629\" height=\"304\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/launch-wireshark.webp 629w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/launch-wireshark-300x145.webp 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p>When it opens, choose your network interface (usually the default highlighted one), then either go to &#8220;Capture -&gt; Start&#8221; or press <code>Ctrl+E<\/code> to start capturing network traffic.<\/p>\n<p>In case, you don&#8217;t know which network interface is in currently being used, run command <code>ip address<\/code> or <code>networkctl status<\/code> to tell.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48193\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface-700x396.webp\" alt=\"\" width=\"610\" height=\"345\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface-700x396.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface-300x170.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface-768x434.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/wireshark-networkinterface.webp 1149w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For more, see the official <a href=\"https:\/\/www.wireshark.org\/docs\/wsug_html_chunked\/\" target=\"_blank\" rel=\"noopener\">user guide<\/a>.<\/p>\n<h3>Uninstall Wireshark:<\/h3>\n<p>If the latest version is not working good in your case, you may run command in terminal to downgrade it:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:wireshark-dev\/stable<\/pre>\n<p>This command will install <code>ppa-purge<\/code> tool and use it to purge the PPA and downgrade installed packages. It however may fail if you have broken software sources.<\/p>\n<p>If you just want to remove the network protocol analyzer, then run the command below instead:<\/p>\n<pre>sudo apt remove --autoremove wireshark<\/pre>\n<p>Also, remove the PPA repository by either running command below in terminal:<\/p>\n<pre>sudo add-apt-repository ppa:wireshark-dev\/stable<\/pre>\n<p>or using &#8220;Software &amp; Updates&#8221; to remove the source line under &#8220;Other Software&#8221; tab, and reload after closing the dialog.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48195\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa-700x430.webp\" alt=\"\" width=\"610\" height=\"375\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa-700x430.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa-300x184.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa-768x472.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/02\/remove-wireshark-ppa.webp 1006w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step beginner&#8217;s guide shows how to install and setup the latest Wireshark network protocol analyzer software (v4.4.8 updated) in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, and Linux Mint 22\/21. Wireshark is a popular free open-source software to capture and display real-time details of network traffic. It&#8217;s available in Ubuntu system [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":48183,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1317,583],"class_list":["post-48182","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-network","tag-wireshark"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=48182"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48182\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/48183"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=48182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}