Frequently Asked Questions

Rate this content:
5 of 5 - 9 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

**Note here: if any of my readers are Kali Linux people - the above should work, but I noted in the latest version of Kali, you must also run this command: 
sudo apt-get install software-properties-common
before the above three commands.

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!

Add comment


Did you learn something?
Did I save you time? 

Buy me a coffeeBuy me a coffee!

Find by Tag

5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az ACL Addressing Analysis Ansible Architecture ARP Assessment AToM Backup Bandwidth BGP Bibliography Biography Briefings 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 ECMP EIGRP Ethernet Flipping the Certification Model Follow Me Fragmentation 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 L2 Switch L2VPN L3VPN LDP Learning Services Linux LLN Logging LoL M-BGP MAC MAC OSx Macro Microsoft mininet Monitoring Monitor Mode MPLS Multicast Name Resolution Netflow NetMon netsh Networking Network Science nmap Npcap nslookup Online Learning Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX Parrot Passwords pcap pcap-ng PIM Ping Policy Port Mirror POTS POTS to Pipes PPP Profile Profiles Programming Project Management Python QoS QUIC Requirements RFC RIP Routing RPL RSVP SAS SDN Security Self Certification Service Provider Small Business Smartport SONET Span Port SSH SSL Subnetting T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telnet Terminal TLS Tools Traceroute Traffic Analysis Traffic Engineering Training Travel Troubleshooting Tunnel Utility Video Virtualbox Virtualization Voice VoIP VXLAN Webex Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Wi-Fi 6/6E Windows Wireless Wireless 5G Wireshark Wireshark Tip WLAN ZigBee Zoom

Twitter Feed