How to Install TSHARK in Unattended Mode via Script

After extensive searching the InterWebs and finding a lack of documentation on how to install TShark in a silent/unattended mode, I came across a related StackExchange post by Franck Dernoncourt that got me on the right track.  Here is what I came up with for Debian:


For a pet project I am working on, I am creating an install script to install several security tools onto a virtual machine and got stuck when TShark  popped the following Qt screen:

Configuring wireshark-common - Dumpcap can be installed in a way that allows members of the

My goal is to have everything installed and properly configured without a user’s involvement.  There are several resources that show how to run Wireshark (TSHARK) as non-root, but that is not what I wanted.  I was ok with the default “<No>” but wanted to avoid being prompted for it.


Tagged , , , , , . Bookmark the permalink.
  • The postings and views on this site are my own and do not necessarily reflect the positions, strategies, or opinions of any current or previous employer.