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

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

What is cloud migration? Benefits, strategy, and best practices

Cloud migration is the process of transferring digital assets, such as data, applications, and IT resources, from on-premises data centers to cloud platforms, including public, private, hybrid, or multi-cloud environments. Organizations can

What is a private cloud? Benefits, use cases, and implementation

A private cloud is a cloud computing environment dedicated exclusively to a single organization, providing a single-tenant infrastructure that improves security, control, and customization compared to public clouds.Private cloud environment

What is a cloud GPU? Definition, types, and benefits

A cloud GPU is a remotely rented graphics processing unit hosted in a cloud provider's data center, accessible over the internet via APIs or virtual machines. These virtualized resources allow users to access powerful computing capabilities

What is cloud networking: benefits, components, and implementation strategies

Cloud networking is the use and management of network resources, including hardware and software, hosted on public or private cloud infrastructures rather than on-premises equipment. Over 90% of enterprises are expected to adopt cloud netwo

Subscribe to our newsletter

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