{"id":3605,"date":"2012-07-24T22:11:41","date_gmt":"2012-07-24T14:11:41","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3605"},"modified":"2023-04-28T09:49:01","modified_gmt":"2023-04-28T09:49:01","slug":"how-to-install-wireshark-on-centos-6-3","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-wireshark-on-centos-6-3\/","title":{"rendered":"How to Install Wireshark on CentOS 6.3"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/wireshark-150x150.jpg\" alt=\"\" title=\"wireshark\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-2092 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/wireshark-150x150.jpg 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/wireshark-100x100.jpg 100w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/wireshark.jpg 160w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/><\/p>\n<p>Wireshark is a popular network protocol analyzer that can be used to monitor and analyze network traffic. In this guide, we will show you how to install Wireshark on CentOS 6.3.<\/p>\n<h2>Step 1: Add the Wireshark Repository<\/h2>\n<p>The first step is to add the Wireshark repository to your CentOS system. Run the following command in your terminal:<\/p>\n<pre>sudo rpm -ivh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/pre>\n<p>This command will add the EPEL (Extra Packages for Enterprise Linux) repository, which contains the Wireshark package.<\/p>\n<h2>Step 2: Install Wireshark<\/h2>\n<p>Next, you need to install the Wireshark package. Run the following command:<\/p>\n<pre>sudo yum install wireshark<\/pre>\n<p>This command will install Wireshark and any dependencies that are required.<\/p>\n<pre>\r\n[root@centos63 ~]# yum install wireshark -y\r\nLoaded plugins: fastestmirror, presto\r\nLoading mirror speeds from cached hostfile\r\n * base: mirrors.hostemo.com\r\n * extras: mirrors.hostemo.com\r\n * updates: mirrors.hostemo.com\r\nCentOS6.3-Repository                                                         | 4.0 kB     00:00 ...\r\nbase                                                                         | 3.7 kB     00:00\r\nextras                                                                       | 3.0 kB     00:00\r\nupdates                                                                      | 3.5 kB     00:00\r\nSetting up Install Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package wireshark.i686 0:1.2.15-2.el6_2.1 will be installed\r\n--> Processing Dependency: libsmi.so.2 for package: wireshark-1.2.15-2.el6_2.1.i686\r\n--> Processing Dependency: libpcap.so.1 for package: wireshark-1.2.15-2.el6_2.1.i686\r\n--> Processing Dependency: libgnutls.so.26(GNUTLS_1_4) for package: wireshark-1.2.15-2.el6_2.1.i686\r\n--> Processing Dependency: libgnutls.so.26 for package: wireshark-1.2.15-2.el6_2.1.i686\r\n--> Running transaction check\r\n---> Package gnutls.i686 0:2.8.5-4.el6_2.2 will be installed\r\n--> Processing Dependency: libtasn1.so.3(LIBTASN1_0_3) for package: gnutls-2.8.5-4.el6_2.2.i686\r\n--> Processing Dependency: libtasn1.so.3 for package: gnutls-2.8.5-4.el6_2.2.i686\r\n---> Package libpcap.i686 14:1.0.0-6.20091201git117cb5.el6 will be installed\r\n---> Package libsmi.i686 0:0.4.8-4.el6 will be installed\r\n--> Running transaction check\r\n---> Package libtasn1.i686 0:2.3-3.el6_2.1 will be installed\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================\r\n Package         Arch       Version                                Repository                  Size\r\n====================================================================================================\r\nInstalling:\r\n wireshark       i686       1.2.15-2.el6_2.1                       CentOS6.3-Repository       9.9 M\r\nInstalling for dependencies:\r\n gnutls          i686       2.8.5-4.el6_2.2                        CentOS6.3-Repository       336 k\r\n libpcap         i686       14:1.0.0-6.20091201git117cb5.el6       CentOS6.3-Repository       125 k\r\n libsmi          i686       0.4.8-4.el6                            CentOS6.3-Repository       2.4 M\r\n libtasn1        i686       2.3-3.el6_2.1                          CentOS6.3-Repository       239 k\r\n\r\nTransaction Summary\r\n====================================================================================================\r\nInstall       5 Package(s)\r\n\r\nTotal download size: 13 M\r\nInstalled size: 64 M\r\nDownloading Packages:\r\nSetting up and reading Presto delta metadata\r\nProcessing delta metadata\r\nPackage(s) data still to download: 13 M\r\n----------------------------------------------------------------------------------------------------\r\nTotal                                                                12 MB\/s |  13 MB     00:01\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Installing : libtasn1-2.3-3.el6_2.1.i686                                                      1\/5\r\n  Installing : gnutls-2.8.5-4.el6_2.2.i686                                                      2\/5\r\n  Installing : libsmi-0.4.8-4.el6.i686                                                          3\/5\r\n  Installing : 14:libpcap-1.0.0-6.20091201git117cb5.el6.i686                                    4\/5\r\n  Installing : wireshark-1.2.15-2.el6_2.1.i686                                                  5\/5\r\n  Verifying  : 14:libpcap-1.0.0-6.20091201git117cb5.el6.i686                                    1\/5\r\n  Verifying  : libsmi-0.4.8-4.el6.i686                                                          2\/5\r\n  Verifying  : gnutls-2.8.5-4.el6_2.2.i686                                                      3\/5\r\n  Verifying  : libtasn1-2.3-3.el6_2.1.i686                                                      4\/5\r\n  Verifying  : wireshark-1.2.15-2.el6_2.1.i686                                                  5\/5\r\n\r\nInstalled:\r\n  wireshark.i686 0:1.2.15-2.el6_2.1\r\n\r\nDependency Installed:\r\n  gnutls.i686 0:2.8.5-4.el6_2.2            libpcap.i686 14:1.0.0-6.20091201git117cb5.el6\r\n  libsmi.i686 0:0.4.8-4.el6                libtasn1.i686 0:2.3-3.el6_2.1\r\n\r\nComplete!\r\n<\/pre>\n<h2>Step 3: Configure User Access<\/h2>\n<p>By default, Wireshark can only be run by the root user. To allow non-root users to run Wireshark, you need to add them to the wireshark group. Run the following command:<\/p>\n<pre>sudo usermod -a -G wireshark USERNAME<\/pre>\n<p>Replace USERNAME with the username of the user you want to add to the wireshark group.<\/p>\n<h2>Step 4: Run Wireshark<\/h2>\n<p>Now that Wireshark is installed, you can run it by typing the following command in your terminal:<\/p>\n<pre>wireshark<\/pre>\n<p>If you are running Wireshark as a non-root user, you may need to run it with elevated privileges by using the following command:<\/p>\n<pre>gksu wireshark<\/pre>\n<p>This command will prompt you for your password and then launch Wireshark with root privileges.<\/p>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">sudo rpm -ivh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/span> &#8211; Add the EPEL repository<\/li>\n<li><span class=\"fw-bold\">sudo yum install wireshark<\/span> &#8211; Install the Wireshark package<\/li>\n<li><span class=\"fw-bold\">sudo usermod -a -G wireshark USERNAME<\/span> &#8211; Add a user to the wireshark group<\/li>\n<li><span class=\"fw-bold\">wireshark<\/span> &#8211; Run Wireshark<\/li>\n<li><span class=\"fw-bold\">gksu wireshark<\/span> &#8211; Run Wireshark with elevated privileges<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>In this guide, we have shown you how to install Wireshark on CentOS 6.3. By adding the EPEL repository and installing the Wireshark package, you can easily monitor and analyze network traffic. We also showed you how to configure user access so that non-root users can run Wireshark, and how to launch Wireshark with elevated privileges if necessary. We hope this guide has been helpful to you. If you have any comments or suggestions for improvements, please feel free to share them below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wireshark is a popular network protocol analyzer that can be used to monitor and analyze network traffic. In this guide, we will show you how to install Wireshark on CentOS&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2092,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1065],"tags":[1244,1254,1536,2109,1630,1744,1932],"class_list":["post-3605","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system-administration","tag-centos","tag-centos-6-3","tag-linux","tag-monitoring","tag-packet-capture","tag-security","tag-wireshark"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=3605"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3605\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2092"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}