In this article, we will have explained the necessary steps to install and configure Wireshark on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Wireshark is a free and open source network analysis tool and packet analyzer. WIth Wireshark, you can capture network traffic in real-time and use it for network analysis, troubleshooting, education, development e.t.c.
Install Wireshark on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
Step 2. Install Wireshark on Ubuntu.
- Method 1.
Wireshark is available on the default Ubuntu 18.04 repositories. Installing Wireshark using following command:
- Method 2.
First, install the required dependencies:
Next, download Wireshark source code:
wgethttps://1.eu.dl.wireshark.org/src/wireshark-$3.0.2.tar.xz -P /tmp
Then, compile Wireshark:
After a successful installation, verify Wireshark version:
Step 3. Accessing Wireshark.
Launching Wireshark application can be done from the CLI or applications launcher. To start Wireshark from GUI, search for wireshark and hit the enter button. The same can be done from command line by typing:
That’s all you need to do to install Wireshark on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.