install wireshark on ubuntu

C++
$ sudo apt update
$ sudo apt install wireshark
$ sudo usermod -aG wireshark $(whoami)
$ sudo reboot$ sudo apt install wireshark
Source

Also in C++: