Linux network and tool

Install wireshark
$ sudo apt-get install wireshark

Run wireshark First, I run it as non-root and can see interface list to capture so I try to run it with sudo

$ sudo wireshark &

Lua: Error during loading:
 	[string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See for help in running Wireshark as an unprivileged user.
Solve: Setting network privileges for dumpcap
1. Ensure your linux kernel and filesystem supports File Capabilities and also you have
installed necessary tools.
2. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
3. Start Wireshark as non-root and ensure you see the list of interfaces and can do 
Install tcpdump
$ sudo apt-get install tcpdump