Installing Wireshark on nixOS Latest

Wireshark is a free and open-source packet analyzer used for network analysis, troubleshooting, and communication protocol development. In this tutorial, we will learn how to install Wireshark on the nixOS latest version.

Prerequisites

Step 1: Update system packages

Before installing any new package on the system, it is recommended to update the package list to get the latest information about available packages. Run the following command in your terminal window to update the package list.

sudo nix-channel --update

Step 2: Install Wireshark

In nixOS, Wireshark package is available in the official repository. To install Wireshark, run the following command in your terminal window.

sudo nix-env -i wireshark

The system will prompt for the installation process. Type "y" to continue. The system will start downloading and installing Wireshark with all the necessary dependencies.

Step 3: Launch Wireshark

Once the installation is complete, you can launch Wireshark either from the terminal or use the GUI interface.

To launch Wireshark from the terminal, run the following command.

wireshark -k

Alternatively, you can launch Wireshark using the GUI interface. Open the application menu and search for "Wireshark". Click the icon to launch the application.

Congratulations! You have successfully installed Wireshark on nixOS Latest version.

Conclusion

Wireshark is a professional network protocol analyzer, and its installation on nixOS latest version is straightforward. Following this tutorial and installation instructions, you can install and use Wireshark on your system.

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!