Gaming industry under DDoS attack. Get DDoS protection now. Start onboarding
  1. Home
  2. Developers
  3. How to Install WIRESHARK on Ubuntu

How to Install WIRESHARK on Ubuntu

  • By Gcore
  • June 14, 2023
  • 2 min read
How to Install WIRESHARK on Ubuntu

Explore your network in a new way with Wireshark, a user-friendly, open-source packet analyzer. This comprehensive guide will help you understand what Wireshark is and how to install it on Ubuntu 22.04.

What is Wireshark?

Wireshark, a well-known open-source packet analyzer, is often referred to as a network protocol analyzer. It serves multiple functions such as network troubleshooting, analysis, software and protocol development, and even educational purposes. Wireshark is a multi-platform tool, compatible with Windows, Linux, macOS, and more.

With Wireshark, you can decode live data from a variety of sources, including Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and beyond. Moreover, it has the ability to interpret captured data from files saved in an array of formats, such as tcpdump (PCAP), NAI’s Sniffer (both compressed and uncompressed), Sniffer Pro, NetXray, Network Instruments Observer, NetScreen snoop, Novell LANalyzer, RADCOM WAN/LAN Analyzer, among others.

To put it simply, Wireshark functions as a diagnostic tool for your network, offering you a granular view of your network activities. It has gained significant popularity across industries for network troubleshooting and learning about network protocols.

Install Wireshark on Ubuntu 22.04

1. Establish a connection to your server running Ubuntu.

2. Update the repository’s list of packages that are available for installation on Ubuntu:

sudo apt update

3. Proceed to install Wireshark from the repositories of Ubuntu:

sudo apt install wireshark

4. During the installation, you’ll be asked whether non-superusers should be permitted to capture packets. If you want to capture packets without needing to run Wireshark as root, you should select ‘Yes’.

5.  If ‘No’ was your choice in the previous step or you wish to assign packet capture permissions to a specific user, you can add the user to the Wireshark group by typing in the command line:

sudo usermod -a -G wireshark username

Remember to replace ‘username’ with the actual username of the person you want to extend permissions to.

You can launch Wireshark by simply typing ‘wireshark’ in the terminal. As an alternative, you can also look for Wireshark in your applications list and initiate it from the GUI.

Conclusion

Want to run Ubuntu in a virtual environment? With Gcore Cloud, you can choose from Basic VM, Virtual Instances, or VPS/VDS suitable for Ubuntu:

Choose an instance

Related articles

Multi-Cloud Plan: What It Is and How It Works

Your cloud provider goes down. Applications fail. Customers can't access your services. And because you've built everything around a single vendor, there's nothing you can do but wait. For organizations locked into one cloud platform, this

Vendor Lock-In in Cloud Computing: What It Is and How to Avoid It

Imagine discovering that migrating your company's data to a new cloud provider will cost hundreds of thousands of dollars in egress fees alone, before you've even touched the re-engineering work. Or worse, picture being in Synapse Financial

What Is Sovereign Cloud and Why Does It Matter?

Picture this: a foreign government issues a legal order forcing your cloud provider to hand over sensitive patient records, classified research data, or critical national infrastructure details. You can't stop it. This isn't hypothetical. G

Types of Virtualization in Cloud Computing

Your physical servers are sitting idle at 15% to 20% CPU utilization while you're paying for 100% of the power, cooling, and hardware costs. Meanwhile, your competitors have consolidated 10 to 15 applications per server, pushing utilization

What's the difference between multi-cloud and hybrid cloud?

Multi-cloud and hybrid cloud represent two distinct approaches to distributed computing architecture that build upon the foundation of cloud computing to help organizations improve their IT infrastructure.Multi-cloud environments involve us

What is multi-cloud? Strategy, benefits, and best practices

Multi-cloud is a cloud usage model where an organization utilizes public cloud services from two or more cloud service providers, often combining public, private, and hybrid clouds, as well as different service models, such as Infrastructur

Subscribe to our newsletter

Get the latest industry trends, exclusive insights, and Gcore updates delivered straight to your inbox.