How to install and use Wireshark on Ubuntu?
It is very easy to install Wireshark on Ubuntu. Simply open the terminal and enter the following command to update the software package list:
sudo apt update
Next, input the following command to install Wireshark:
sudo apt install wireshark
During the installation process, you will be prompted to allow non-privileged users to capture network packets. If you want to allow non-privileged users to capture packets, select “Yes”. Otherwise, select “No”.
After installation is complete, you can start Wireshark by entering the following command in the terminal:
sudo wireshark
Alternatively, you can find Wireshark in the application menu and click to open it.
Capturing packets with Wireshark is very simple. In the Wireshark interface, select the network interface you want to monitor, then click the “Start Capture” button. Wireshark will begin capturing network packets and display them on the interface. You can use filters to sort packets or utilize other features to analyze them. When finished, you can click “Stop Capture” to end the network packet capture.
I hope the above information is helpful to you.