How to Install Wireshark on CentOS 6.2

by skytech on February 28, 2012

In this post, i will show on how to install Wireshark on CentOS 6.2 server. Wireshark is a free and open-source network packet analyzer that will help to capture network packets and tries to display that packet data as detailed as possible. This post assumed that you have set up local yum repository using your DVDROM. If you haven’t set up the local yum repository, please proceed to this steps :
How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

Simply run this command to install Wireshark :

[root@centos62 ~]# yum install wireshark
[root@centos62 ~]# yum install wireshark
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.maulvi.net
 * extras: centos.maulvi.net
 * updates: centos.maulvi.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wireshark.i686 0:1.2.15-2.el6 will be installed
--> Processing Dependency: libpcap.so.1 for package: wireshark-1.2.15-2.el6.i686
--> Processing Dependency: libsmi.so.2 for package: wireshark-1.2.15-2.el6.i686
--> Processing Dependency: libgnutls.so.26 for package: wireshark-1.2.15-2.el6.i686
--> Processing Dependency: libgnutls.so.26(GNUTLS_1_4) for package: wireshark-1.2.15-2.el6.i686
--> Running transaction check
---> Package gnutls.i686 0:2.8.5-4.el6 will be installed
--> Processing Dependency: libtasn1.so.3(LIBTASN1_0_3) for package: gnutls-2.8.5-4.el6.i686
--> Processing Dependency: libtasn1.so.3 for package: gnutls-2.8.5-4.el6.i686
---> Package libpcap.i686 14:1.0.0-6.20091201git117cb5.el6 will be installed
---> Package libsmi.i686 0:0.4.8-4.el6 will be installed
--> Running transaction check
---> Package libtasn1.i686 0:2.3-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package         Arch       Version                                Repository                  Size
====================================================================================================
Installing:
 wireshark       i686       1.2.15-2.el6                           CentOS6.2-Repository       9.9 M
Installing for dependencies:
 gnutls          i686       2.8.5-4.el6                            CentOS6.2-Repository       336 k
 libpcap         i686       14:1.0.0-6.20091201git117cb5.el6       CentOS6.2-Repository       125 k
 libsmi          i686       0.4.8-4.el6                            CentOS6.2-Repository       2.4 M
 libtasn1        i686       2.3-3.el6                              CentOS6.2-Repository       239 k

Transaction Summary
====================================================================================================
Install       5 Package(s)

Total download size: 13 M
Installed size: 64 M
Is this ok [y/N]: y
Downloading Packages:
----------------------------------------------------------------------------------------------------
Total                                                                30 MB/s |  13 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libtasn1-2.3-3.el6.i686                                                          1/5
  Installing : gnutls-2.8.5-4.el6.i686                                                          2/5
  Installing : libsmi-0.4.8-4.el6.i686                                                          3/5
  Installing : 14:libpcap-1.0.0-6.20091201git117cb5.el6.i686                                    4/5
  Installing : wireshark-1.2.15-2.el6.i686                                                      5/5

Installed:
  wireshark.i686 0:1.2.15-2.el6

Dependency Installed:
  gnutls.i686 0:2.8.5-4.el6 libpcap.i686 14:1.0.0-6.20091201git117cb5.el6 libsmi.i686 0:0.4.8-4.el6
  libtasn1.i686 0:2.3-3.el6

Complete!

As always if you need any help you can reach us on twitter @ehowstuff or drop us a comment below. Jumping through archives page to read more articles..



Previous post:

Next post: