How to Install Wireshark on Arch Linux

Wireshark is a powerful and open-source network protocol analyzer that allows you to monitor traffic in real-time. If you're using Arch Linux, there are different ways of installing Wireshark. In this tutorial, we will show you how to install Wireshark from the official website https://www.wireshark.org/.

Step 1: Update the System

Before installing Wireshark, you should update the system first to ensure that all packages are up to date.

sudo pacman -Syu

You may be prompted for the root password to proceed.

Step 2: Install Dependencies

The first step is to install the dependencies that Wireshark requires to function correctly.

sudo pacman -S gcc qt5-base qt5-svg libgcrypt libsmi libssh geoip-libs c-ares glib2 libmaxminddb libpcap openssl

This command will install all the required packages.

Step 3: Download Wireshark

Go to the Wireshark official website at https://www.wireshark.org/ and click on the Download button. On the next page, scroll down until you see the Stable Release and download the Source Code Tarball. Alternatively, you can get the link and use the wget command to download it.

wget https://1.na.dl.wireshark.org/src/wireshark-3.4.6.tar.xz

The version number may differ from the one provided in this tutorial, depending on the latest stable release.

Step 4: Extract the Wireshark Tarball

Once you have downloaded the Wireshark tarball, you need to extract it using the following command.

tar xf wireshark-3.4.6.tar.xz

This command will extract the contents of the tarball into a new directory called wireshark-3.4.6.

Step 5: Build and Install Wireshark

Now that we have the source code, we can build and install Wireshark. Run the following commands in the terminal.

cd wireshark-3.4.6
./configure
make
sudo make install

The ./configure command will configure the build environment, and make will build the application. Finally, sudo make install will install the application for the current user.

Step 6: Launch Wireshark

Now that Wireshark is installed on your system, you can launch it from the terminal by typing wireshark or from the application launcher by searching for "Wireshark". When you launch Wireshark, you may see a warning that you need to run it with superuser privileges to capture network traffic.

Conclusion

Now you know how to install Wireshark on Arch Linux from the official website. You can use Wireshark to monitor and analyze your network traffic for security and diagnostic purposes. Enjoy!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!