Install Wireshark on Linux (Ubuntu/Debian) CORRECTLY & FAST – in 3 EASY STEPS!

Install Wireshark on Linux (Ubuntu/Debian) CORRECTLY & FAST – in 3 EASY STEPS!


Hello everyone! In this video I’ll show
you how to correctly install Wireshark on Ubuntu Linux to avoid running
Wireshark as ‘root’. As you can notice, all commands in the text file begin with
‘sudo’ and if you e.g. work in the terminal in your operating system as
‘root’ you don’t need this word, and first we enter ‘sudo apt-get install wireshark’ to
install the application itself. We’re typing our password and in a few seconds
Wireshark is installed,.. but if you start Wireshark right now from the terminal you’ll
see that you don’t have any available interface to capture from and the reason
why is that Wireshark cannot run /usr/bin/dumpcap in the child process because it is denied at the moment. To allow
traffic capturing there are two ways, and the fastest way to do that is to permit
‘wireshark’ group users to capture with Wireshark by using ‘dpkg-reconfigure’ and to add the
user to this group. Let’s do the first step – let’s paste in the terminal ‘sudo
dpkg-reconfigure wireshark-common’ and the following window will pop up
telling us that this is better to install dumpcap to permit Wireshark system
group members to capture traffic than to run Wireshark as ‘root’. Let’s agree to do it
and say ‘yes’ to allow Wireshark group members to capture traffic. Next,
let’s add the user to the Wireshark group to permit this user to capture packets
without running Wireshark as ‘root’. Let’s use the following command: ‘sudo adduser $USER
wireshark’ – okay, it’s also done… and next let’s log out to apply new
settings… and after you log in again you can just
run Wireshark without using ‘sudo’ command and as you see all network interfaces in
Wireshark are available now and next – let’s select an interface and start the
capture to check that everything works fine – and it works! Besides the mentioned
method there is also the longer second option to make the needed changes by
typing the highlighted commands on the screen, but the first method is easier
and faster, and I prefer to use it. Nevertheless, it’s always better to have
a choice, so you can do it either the first way or the second one – the result
would be this same. I hope that this has been interesting for you, and I’d like to
thank you for watching! See you in the next video!