How To Install Wireshark Network Analyzer In Ubuntu – A Best Network Traffic Analyzer For Linux
In this article, we are going to learn How to install a Wireshark network analyzer in Ubuntu. Wireshark is a network traffic analyzer application used to collect networking live data like sending and receiving packets, daily bandwidth usage..etc..and shows the data in a highly informative manner. In all small and large organizations, you will find a network traffic analyzer application which helps network administrator not only to troubleshooting the network-related errors but also provides a nice platform to analyze the complete network from a single location. Wireshark network analyzer is a nice lightweight application that comes with various features mentioned below :
- Wireshark network traffic analyzer application is an open-source cross-platform application that comes for major operating systems i.e. Linux, Microsoft Windows, macOS.
- Analyzes both wired & wireless live network data with exact statistics.
- Official Plugins are available to get more features as per your need and requirement.
- You can set different color codes for different send and receive packets for quick identification.
- You can add multiple network cards in the Wireshark network analyzer application to capture network data.
- It allows saving captured network data for future reference.
In short Wireshark network analyzer is a nice tool with complete network traffic analysis features and a recommended tool for use. Wireshark was developed by Gerald Combs on the year 1998 using C & C++ programming language and released under GNU GPL license.
Follow the below steps to install Wireshark network analyzer in Ubuntu – A Best Network traffic analyzer for Linux:
Before starting the installation of the Wireshark network analyzer we have to install the official PPA repository for that as it’s not a part of the default repository of Ubuntu. So to install the PPA repository use the below command.
[email protected]:~$ sudo add-apt-repository ppa:wireshark-dev/stable # Install PPA Repository Latest stable Wireshark releases back-ported from Debian package versions. Back-porting script is available at https://github.com/rbalint/pkg-wireshark-ubuntu-ppa From Ubuntu 16.04 you also need to enable "universe" repository, see: http://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository More info: https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmphd0sx8go/secring.gpg' created gpg: keyring `/tmp/tmphd0sx8go/pubring.gpg' created gpg: requesting key 14ECA0F0 from hkp server keyserver.ubuntu.com gpg: /tmp/tmphd0sx8go/trustdb.gpg: trustdb created gpg: key 14ECA0F0: public key "Launchpad PPA for Wireshark Developers" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
After installing the PPA repository let’s update the packages and repositories of Ubuntu to take effect.
[email protected]:~$ sudo apt-get update # Update Packages & Repositories
Now we are ready to install the Wireshark network analyzer package. So let’s go ahead and install the same using the below command.
Note: During installation, you will get a message for Configuration of Wireshark-common and will ask for Yes or No to continue the installation. Here you just have to select and press enter on Yes.
As you can see above we have successfully installed the Wireshark network traffic analyzer package. To confirm the same refer to the below command.
[email protected]:~$ sudo dpkg -l wireshark # Confirm the installed Package Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================-=======================-=======================-============================================================================= ii wireshark 2.4.2-1~xenial1 amd64 network traffic analyzer - meta-package
Now to open the application just type the command wireshark on the shell prompt. Refer to the command below.
[email protected]:~$ wireshark # Open the Wireshark network analyzer application
You can also open the Wireshark network traffic analyzer using Search your computer box.
How To Uninstall Wireshark Network Analyzer On Ubuntu?
To uninstall the Wireshark network analyzer application use the below command.
[email protected]:~$ sudo dpkg -r wireshark # Uninstall the Wireshark application (Reading database ... 251375 files and directories currently installed.) Removing wireshark (2.4.2-1~xenial1) ...
That’s all, In this article, we have explained How To Install Wireshark Network Analyzer In Ubuntu – A Best Network Traffic Analyzer For Linux. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.