AMP AMP

How to install Wireshark – 2.4.4 on Linux mint – 18.3

To install Wireshark 2.4.4 on Linux Mint 18.3

Wireshark is a free and open source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. It is cross-platform software available for most using operating systems such as Windows, Linux, MAC os. It' s using the Qt widget toolkit in current releases to implement its user interface and using pcap to capture packets. Its released under the GNU General Public License. It is so simple to install Wireshark 2.4.4 on Linux Mint 18.3 and this tutorial covers the ground on the same process.

Installing Wireshark

Let' s first start with updating system repository.

linuxhelp user # apt-get update
Get:1 http://archive.canonical.com/ubuntu xenial InRelease [11.5 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease             
Ign:3 http://packages.linuxmint.com sylvia InRelease                                                              
Get:4 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages [3,132 B]         
Hit:5 http://packages.linuxmint.com sylvia Release                                                               
Get:6 http://archive.canonical.com/ubuntu xenial/partner i386 Packages [3,124 B]               
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]  
.
.
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [241 kB]                           
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]                        
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]                         
Get:27 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [7,080 B]                        
Get:28 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [7,064 B]                         
Get:29 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,812 B]                        
Fetched 5,317 kB in 11s (462 kB/s)                                                                                
Reading package lists... Done

Now add PPA repository for installing Wireshark.

linuxhelp user # add-apt-repository ppa:wireshark-dev/stable
You are about to add the following PPA:
 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

Executing: /tmp/tmp.8nfb4RJj3A/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
14ECA0F0
gpg: requesting key 14ECA0F0 from hkp server keyserver.ubuntu.com
gpg: key 14ECA0F0: public key " Launchpad PPA for Wireshark Developers"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

After adding the repository Update the system repo.

linuxhelp user # apt-get update
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial InRelease [24.3 kB]                             
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease                                                           
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease                                                 
Hit:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease                                                   
Ign:7 http://packages.linuxmint.com sylvia InRelease                                                              
Get:2 http://screenshots.getdeb.net xenial-getdeb InRelease [9,604 B]                                             
Get:8 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial/main Sources [1,288 B]       
Ign:2 http://screenshots.getdeb.net xenial-getdeb InRelease                                                       
Hit:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease                              
Hit:10 http://packages.linuxmint.com sylvia Release                                           
Get:13 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial/main amd64 Packages [3,312 B]
Get:11 http://screenshots.getdeb.net xenial-getdeb/apps amd64 Packages [66.7 kB]                
Get:14 http://screenshots.getdeb.net xenial-getdeb/apps i386 Packages [67.4 kB]
Get:15 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial/main i386 Packages [3,296 B]
Get:16 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial/main Translation-en [1,788 B]
Fetched 178 kB in 2s (63.5 kB/s) 
Reading package lists... Done

You can install the Wireshark by using the following command.

linuxhelp user # apt-get install wireshark
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libc-ares2 libjs-openlayers libnghttp2-14 libnl-route-3-200 libqt5multimedia5 libsmi2ldbl libsnappy1v5
  libspandsp2 libssh-gcrypt-4 libwireshark-data libwireshark10 libwiretap7 libwscodecs1 libwsutil8
  wireshark-common wireshark-qt
Suggested packages:
  snmp-mibs-downloader wireshark-doc
Recommended packages:
  javascript-common geoip-database-extra
The following NEW packages will be installed:
.
.
Setting up libsnappy1v5:amd64 (1.1.3-2) ...
Setting up libwsutil8:amd64 (2.4.4-1~16.04.0) ...
Setting up libwiretap7:amd64 (2.4.4-1~16.04.0) ...
Setting up libwscodecs1:amd64 (2.4.4-1~16.04.0) ...
Setting up libwireshark10:amd64 (2.4.4-1~16.04.0) ...
Setting up wireshark-common (2.4.4-1~16.04.0) ...
Setting up wireshark-qt (2.4.4-1~16.04.0) ...
Setting up wireshark (2.4.4-1~16.04.0) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...

During installation, you should configure Wireshark access to non-superusers for capturing packets.

After installing you can access the application from the menu.

The application is launched now as you see from the below image.

With this, the method to install Wireshark &ndash 2.4.4 on Linux Mint &ndash 18.3 comes to an end.

FAQ
Q
What is the use of Wireshark in Linux?
A
Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software, and communications protocol development.
Q
What is Wireshark promiscuous mode?
A
Promiscuous mode is a network interface mode in which the NIC reports every packet that it sees. So before you use this tool to draw conclusions about traffic on your Windows network, it's worth seeing if you're really capturing what you think you're capturing.
Q
Is Wireshark safe to use?
A
Wireshark is safe to install so long as you get it from a trustworthy source, probably Wireshark itself for preference.
Q
How do I change my Webmin password if I can't login?
A
Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in /usr/libexec/webmin, you could change the password of the admin user to foo by running

/usr/libexec/webmin/changepass.pl /etc/webmin admin foo
Q
What effect will Webmin have on my existing configuration files?
A
Just installing Webmin will not cause any config file changes to be made. When you start to use it, only the config files related to the changes that you make in Webmin will be modified. For example, using the Apache Webserver module would not effect your Sendmail configuration.