Frequently Asked Questions

Rate this content:
0 of 5 - 0 votes
Thank you for rating this article.

First things first - the Wireshark downloads page is here:

I know I have put the answer to this in other articles over the years (like this one), but I think it is appropriate to answer the question directly and specifically.

Installing Wireshark in Ubuntu or virtually any Linux distribution is pretty easy - it is available in almost all Linux repositories.  Just add it from the software installer, or from the terminal/command line:

sudo apt install wireshark

Let's say that does not work.  Perhaps you need to add the repository first:

sudo add-apt-repository universe
sudo apt install wireshark

Sometimes, when you install Wireshark in the manner described, or you install Ubuntu Linux as a new system, a VM, or whatever, you will note that the version of Wireshark is older than the current release, so this getting the ;atest release can be an issue if the repositories are not updated (and trust me they are painfully slow). 

You can always show which version of Wireshark you have with this command:

apt show wireshark

It will look something like this:

2020 12 05 09 44

If not having the latest release is an issue for you, you should add the official Wireshark PPA.   

In a terminal, use the following commands one by one:

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

Your Wireshark will be updated to the newer stable version.

During the installation process, you may be asked whether to allow non-superusers to capture packets. Select Yes to allow and No to restrict non-superusers to capture packets & finish the installation.

If you want to run Wireshark without sudo (for instance if you selected No in the previous installation), then run the following command as root:

sudo dpkg-reconfigure wireshark-common

On the screen that pops up, select Yes by pressing the tab key and then using enter key.

Since you have allowed the non-superuser to capture packets, you have to add the user to wireshark group. Use the usermod command to add yourself to the wireshark group.

sudo usermod -aG wireshark $(theusername)

Finally, restart your Ubuntu system to make the necessary changes to your system.

sudo reboot

I hope you find this article and its content helpful.  Comments are welcomed below.  If you would like to see more articles like this, please support us by clicking the patron link where you will receive free bonus access to courses and more, or simply buying us a cup of coffee!, and all comments are welcome!

Comments powered by CComment

Did you learn something?
Did I save you time? 

Buy me a coffeeBuy me a coffee!

Find by Tag

4G Networks 5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az ACL Addressing Analysis Ansible Architecture ARP AToM Backup Bandwidth BGP Biography Bloom's Taxonomy CBRS CellStream Cellular Central Office Cheat Sheet Chrome Cisco Clock Cloud Computer Consulting CPI Data Center Data Networking Decryption DHCPv4 DHCPv6 Display Filter DNS Documentation dumpcap ECMP EIGRP Ethernet Ethics Flipping the Certification Model Follow Me Fragmentation G-MPLS Git GNS3 Google GQUIC Hands-On History Home Network HTTPS ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 In A Day Internet IOS Classic IoT IPv4 IPv6 IS-IS L2 Switch L2VPN L3VPN LDP Linux LLN Logging LoL M-BGP MAC Macro Microsoft mininet Monitoring Monitor Mode MPLS Multicast Name Resolution Netcat Netflow NetMon netsh Networking Network Science nmap Npcap nslookup Online Learning Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX Parrot PIM Ping Policy POTS POTS to Pipes PPP Profile Profiles Programming Project Management PW3E Python QoS QUIC Remote Desktop Requirements RIP Routing RPL RSVP Rural SAS SDN Security Self Certification Service Provider Sharepoint Small Business Smartport SONET Speed SSH SSL Subnetting T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone Telnet Terminal TLS Tools Traceroute Traffic Analysis Traffic Engineering Training Travel Tunnel Ubuntu Utility Video Virtualbox Virtualization VoIP VRF VXLAN Webex Wi-Fi Wi-Fi 6 Wi-Fi 6/6E Windows Wireless Wireless 5G Wireshark Wireshark Tip WLAN ZigBee Zoom

Twitter Feed