sudo apt install wiresharck ubuntu

C++
$ sudo apt install wireshark
Source

Also in C++: