How To Install Wireshark on Ubuntu 16.04 LTS

Install Wireshark on Ubuntu 16.04 LTS

In this tutorial we will show you how to install and configure wireshark on Ubuntu 16.04 LTS. For those of you who didn’t know, Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, monitoring, analysis, software and communications protocol development. Wireshark offers graphical interface to view and analyze network results so it’s easy to use. It can capture network traffic to specific devices and network interfaces and can save the captured traffic to various formats for analysis and troubleshoot of network releted problems.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation wireshark network analyzer on a Ubuntu 16.04 (Xenial Xerus) server.

Install Wireshark on Ubuntu 16.04 LTS

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing Wireshark.

Run the commands below in terminal to install wireshark:

During the installation,it will require to confirm security about allowing non-superuser to execute Wireshark. Just confirm YES if you want to. If you check on NO, you must run Wireshark with sudo. Later, if you want to change this:

Step 3. Start Capturing Packet.

Once installed, new group named wireshark will be created when installing wireshark. You can verify this by looking at the end of /etc/group file:

Running Wireshark as root is insecure. To run wireshark as normal user you have to add yourself into wireshark group:

Wireshark will be the user’s secondary group. To temporarily set wireshark as the user’s primary group, run the following command:

Finally, Start the wireshark program from the terminal:

Note: If you want to start wireshark in application menu, you have to log out of the current session and log back in.

Congratulation’s! You have successfully installed wireshark. Thanks for using this tutorial for installing wireshark network analyzer on Ubuntu 16.04 LTS  (Xenial Xerus) system. For additional help or useful information, we recommend you to check the official wireshark web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!