{"id":16710,"date":"2022-04-21T09:33:51","date_gmt":"2022-04-21T09:33:51","guid":{"rendered":"https:\/\/linuxways.net\/?p=16710"},"modified":"2022-04-21T09:33:51","modified_gmt":"2022-04-21T09:33:51","slug":"how-to-install-wireshark-on-manjaro-linux-21","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/manjaro\/how-to-install-wireshark-on-manjaro-linux-21\/","title":{"rendered":"How to Install Wireshark on Manjaro Linux 21?"},"content":{"rendered":"<h2>What is Wireshark?<\/h2>\n<p>WireShark is a popular tool that is used to analyze packets in a network. The tool is free and open source. Before May 2006, it was known by the name Ethereal which was later switched to Wireshark due to some trademark issues. Wireshark helps in network troubleshooting, traffic analysis, software and communications protocol development, and educational purpose.<\/p>\n<p>It is available for Linux, Windows, BSD, Solaris, macOS, and other Unix like operating systems.<\/p>\n<p>In today\u2019s tutorial, you will see how to install Wireshark on your machine. Manjaro Linux 21 is the operating system we are using for this tutorial. Manjaro is a free, open source, and efficient distribution of Linux. To learn more about Manjaro Linux, see:<\/p>\n<p><a href=\"https:\/\/manjaro.org\/\">https:\/\/manjaro.org\/<\/a><\/p>\n<p>The tutorial is divided into two parts. In part 1, the installation is taking place using Manjaro\u2019s terminal. In part 2, the installation is taking place using flatpak.<\/p>\n<p>Without any further ado, let\u2019s get started!<\/p>\n<h2>Installation Guide<\/h2>\n<h3>Installing WireShark using terminal:<\/h3>\n<h4>Step 1: Update the system<\/h4>\n<p>We will begin the installation by updating the Manjaro system that we are using. To update it, run the following command:<\/p>\n<pre>sudo pacman -Syu<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"27\" class=\"wp-image-16711\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-162.png\" \/><\/p>\n<h4>Step 2: Install Wireshark<\/h4>\n<p>Now that the system is updated, let\u2019s install the application. To install Wireshark, execute the following command:<\/p>\n<pre>sudo pacman -S wireshark-qt<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"252\" height=\"24\" class=\"wp-image-16712\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-163.png\" \/><\/p>\n<p>Wireshark will instantly be installed on your machine. The process will take around five minutes or less.<\/p>\n<h4>Step 3: Verify Installation by running Wireshark<\/h4>\n<p>We can verify if the installation has been successful or not by simply running the application. Wireshark can be opened through the terminal by using the Wireshark command as shown below:<\/p>\n<pre>Wireshark<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"95\" height=\"22\" class=\"wp-image-16713\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-164.png\" \/><\/p>\n<p>This will open an interface of Wireshark. This will confirm if the installation has been a success or not. If the application fails to run, try installing it all over again. You can also try another method to install Wireshark using flatpak that we have discussed in the next section.<\/p>\n<h3>Installing Wireshark using flatpak<\/h3>\n<h4>Step 1: Install Flatpak<\/h4>\n<p>To install Wireshark via Flatpak, we will first need to install Flatpak. If you already have it installed on your system, you can skip this step.<\/p>\n<p>To install Flatpak, run this command:<\/p>\n<pre>sudo pacman -S flatpak<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"208\" height=\"22\" class=\"wp-image-16714\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-165.png\" \/><\/p>\n<h4>Step 2: Enable Flathub repository<\/h4>\n<p>In this step, we will enable the flathub repository to get the packages. It can be done by issuing the following command:<\/p>\n<pre>sudo flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"30\" class=\"wp-image-16715\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-166.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-166.png 837w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-166-300x11.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-166-768x28.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/p>\n<h4>Step 3: Install Wireshark<\/h4>\n<p>Now finally we can install the application. To install Wireshark, run the below-mentioned command:<\/p>\n<pre>flatpak install flathub org.wireshark.Wireshark<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"28\" class=\"wp-image-16716\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-167.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-167.png 428w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-167-300x20.png 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/p>\n<h4>Step 4: Run Wireshark<\/h4>\n<p>Now you can run Wireshark using the Wireshark command like this:<\/p>\n<pre>Wireshark<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"95\" height=\"22\" class=\"wp-image-16717\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-168.png\" \/><\/p>\n<p>This is what the Wireshark\u2019s interface will look like:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" class=\"wp-image-16718\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2.png\" alt=\"Graphical user interface, text Description automatically generated\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2.png 1920w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2-1024x576.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2-768x432.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/graphical-user-interface-text-description-automa-2-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h4>Step 5: Change permissions (optional step)<\/h4>\n<p>When you\u2019ll run Wireshark and try to capture packets, you will most likely see an error window as shown below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"150\" class=\"wp-image-16719\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-169.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-169.png 498w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-169-300x90.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/p>\n<p>To resolve this issue, we will give execute permissions to the file named dumpcap placed in \/usr\/bin directory.<\/p>\n<p>It can be done by issuing the following command:<\/p>\n<pre>sudo chmod +x \/usr\/bin\/dumpcap<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"28\" class=\"wp-image-16720\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/04\/word-image-170.png\" \/><\/p>\n<p>After executing the command, close the application and restart it to update the new execute permissions we gave to the dumpcap file. Now you will be able to capture the packets without running into any errors.<\/p>\n<p>Today, we saw how to install Wireshark on Manjaro Linux 21 with the help of a few easy-to-follow commands. We carried out the installation in two ways: 1) via terminal and 2) By using Flatpak.<\/p>\n<p>Now you can easily analyze the traffic in your network with ease.<\/p>\n<p>I hope you liked our tutorial.<\/p>\n<p>To see how you can install Wireshark in Debian 11, check this out:<\/p>\n<p><a href=\"https:\/\/linuxways.net\/de\/debian\/how-to-install-wireshark-on-debian-10\/\">https:\/\/linuxways.net\/debian\/how-to-install-wireshark-on-debian-10\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>What is Wireshark? WireShark is a popular tool that is used to analyze packets in a network. The tool is free and open source. Before May 2006, it&hellip;<\/p>","protected":false},"author":1,"featured_media":16728,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[891],"tags":[829,355],"class_list":["post-16710","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-manjaro","tag-manjaro-linux","tag-wireshark"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/16710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=16710"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/16710\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/16728"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=16710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=16710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=16710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}