install wireshark from command line code example
Example: install wireshark on ubuntu
$ sudo apt update
$ sudo apt install wireshark
$ sudo usermod -aG wireshark $(whoami)
$ sudo reboot
$ sudo apt update
$ sudo apt install wireshark
$ sudo usermod -aG wireshark $(whoami)
$ sudo reboot