
Fedora 45 came out on November 3, 2026. Most people who put Wireshark on it hit the same wall. The install takes about thirty seconds. Then the app opens, the interface list is empty, and a permission error appears. The package works. The capture permissions are the part that confuses people.
Wireshark has to read raw frames from a network interface. That needs two Linux capabilities, CAP_NET_RAW and CAP_NET_ADMIN, and the kernel doesn’t hand those out to ordinary users. The usual workaround is to run the whole GUI as root. That’s a bad idea. Wireshark has a large dissector codebase that parses untrusted network input, and it shouldn’t run with full privileges. Fedora packages it so that only a small helper called dumpcap holds the elevated rights. Access to that helper is limited to a dedicated group.
Once you know that, the setup is easy and the errors make sense. This guide covers the install and also the decisions around it. It looks at how to capture safely on a laptop, how to capture on a headless server, and how to keep captures from filling the disk. It also covers what to check when it doesn’t work. The commands target Fedora 45, and the notes on Debian, Ubuntu and AlmaLinux are there because many admins work across several distributions.
What You Need Before Starting
You need a Fedora 45 system, either Workstation or Server, and a user account with sudo rights. You also need working network access to the Fedora repositories. Wireshark is in the official repositories, so no third-party repo is needed.
Start by updating the system. This avoids dependency mismatches, especially if the machine has been sitting for a few weeks.
sudo dnf upgrade --refresh
Fedora 45 changed some DNF behavior. The release notes list “Disable vendor change by default in DNF” among the changes. That doesn’t affect a normal Wireshark install. It matters if you have mixed repositories such as COPR or third-party builds. In that case DNF may refuse a swap it used to allow, and you’d have to opt in deliberately.
Install Wireshark on Fedora 45 with DNF
The package name is simply wireshark. It pulls in the Qt graphical analyzer and the command-line tools that do the actual capturing.
sudo dnf install wireshark
DNF will resolve the dependencies and ask for confirmation. Accept it. During installation Fedora creates a system group named wireshark. Remember that group, because the rest of the setup depends on it.
Check what was installed
Confirm the packages and the group exist before you go further:
rpm -qa 'wireshark*'
getent group wireshark
If getent prints nothing, the group is missing. The troubleshooting section below deals with that. In most cases the group exists and the problem is only that your user isn’t in it. A Fedora forum thread describes exactly this: the group was created by DNF, but the user wasn’t a member.
Choosing between packages
Not every machine needs the GUI. Fedora splits the software into pieces:
| Package | What it gives you | Typical use |
|---|---|---|
wireshark |
GUI analyzer plus tools | Desktop analysis |
wireshark-cli |
TShark, dumpcap, editcap, mergecap and similar | Servers, SSH sessions |
wireshark-devel |
Headers for plugin development | Writing dissectors |
For a headless server, install the CLI only:
sudo dnf install wireshark-cli
This avoids dragging Qt and graphical libraries onto a box that has no display. Smaller footprint, smaller attack surface, fewer updates to track.
Let a Normal User Capture Packets
This is the step that matters most. Add your account to the wireshark group:
sudo usermod -aG wireshark "$USER"
The -aG flags append the group instead of replacing your existing supplementary groups. Leave out the -a and you can strip yourself out of wheel, which is an unpleasant surprise on a machine you only reach over SSH.
Group membership is read at login. Your current shell won’t see the change. You have two options:
newgrp wireshark
That opens a temporary shell with the group active. The cleaner fix is to log out of the desktop session fully and log back in. A reboot isn’t required, but a partial logout that leaves your session manager running often doesn’t refresh the groups.
Check it:
id -nG
You should see wireshark in the output.
How it works underneath
Look at the helper binary:
ls -l /usr/bin/dumpcap
getcap /usr/bin/dumpcap
You’ll see that dumpcap is owned by the wireshark group and carries the file capabilities cap_net_raw and cap_net_admin. Only members of the group can execute it. The GUI itself runs as you, with no special privileges. When you start a capture, it launches dumpcap, which grabs the packets and hands them back. That split is the whole point of the design. A bug in a protocol dissector can’t escalate to root, because the dissectors never run in the privileged process.
Be careful about who you place in this group. The Fedora Magazine guide warns that dumpcap can damage network configuration if misused, so membership should go only to people you trust. On a shared server, treat the wireshark group like you would treat a sudo-adjacent group. Anyone in it can sniff every unencrypted conversation crossing the box.
If capabilities are missing
Occasionally the file capabilities are lost, for example after changing the group ownership of the binary. Restore them by hand:
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
The Wireshark wiki notes that on some systems the path is /usr/sbin/dumpcap instead, so confirm with which dumpcap or rpm -ql wireshark-cli | grep dumpcap first. The simplest repair in a Fedora context is to reinstall the packages, which restores the packaged permissions:
sudo dnf reinstall 'wireshark*'
That approach was suggested in the Fedora discussion about a missing group.
Launch and Test the First Capture
Start the GUI from the application menu or the terminal:
wireshark
The welcome screen lists your interfaces with a small activity graph beside each. On a typical laptop you’ll see wlp... or enp... names, lo for loopback, and possibly virbr0 or docker0 if you run virtualization. Double-click an active interface and the packets start scrolling.
Generate some traffic to be sure it works. In another terminal:
ping -c 4 fedoraproject.org
Type icmp in the display filter bar and press Enter. You should see echo requests and replies. If you do, capturing works, and the rest is analysis.
Display filters versus capture filters
New users mix these up constantly. A capture filter uses BPF syntax and decides what gets recorded at all. A display filter uses Wireshark’s own syntax and only hides packets that were already captured. Each one has its place.
Examples of capture filters, set before you start:
host 192.168.1.50
port 443
tcp and not port 22
Examples of display filters, applied afterwards:
ip.addr == 192.168.1.50
tcp.analysis.retransmission
http.request.method == "POST"
dns.flags.rcode != 0
On a busy production link, capture filters save you. Recording everything and filtering later works fine on a quiet home network, but on a gigabit interface under load the file grows quickly and the machine starts dropping packets. Narrow it down at capture time.
Using TShark on Servers
Real-world troubleshooting often happens on a server with no desktop. TShark gives you Wireshark’s dissection in the terminal.
List the interfaces:
tshark -D
Run a short capture and print DNS queries only:
tshark -i eth0 -f "udp port 53" -Y "dns" -c 50
Save a capture to a file for later analysis on your workstation:
tshark -i eth0 -f "tcp port 443" -w /var/tmp/web.pcapng -a duration:60
Here -f is the capture filter, -w writes the file, and -a duration:60 stops after sixty seconds. That auto-stop condition is a habit worth building. Many an admin has left a capture running over a weekend and woken up to a full partition.
Ring buffers for long captures
When you’re hunting an intermittent fault, such as a database connection that drops once every few hours, you can’t watch live. Use a ring buffer so the disk usage stays bounded:
tshark -i eth0 -f "host 10.0.0.25 and port 5432" \
-b filesize:102400 -b files:20 -w /var/tmp/pg.pcapng
This keeps twenty files of roughly 100 MB each and overwrites the oldest. When the fault finally happens, you stop the capture and look at the files around the event. It’s a far better approach than a single giant file.
Remote capture over SSH
You can stream packets from a remote server into a local Wireshark without installing the GUI on the server. This needs the capture tool on the remote end:
ssh admin@server 'sudo tcpdump -i eth0 -U -w - not port 22' | wireshark -k -i -
The not port 22 part matters. Without it you capture your own SSH session, which generates more traffic, which gets captured, and the feedback loop floods the link. Everyone does this once.
Troubleshooting Common Problems
No interfaces appear, or “You don’t have permission to capture”
This is the most common failure. Work through it in order.
- Run
getent group wiresharkto confirm the group exists. - Run
id -nGto confirm you’re a member in the current session. - If you were just added, log out fully and back in.
- Run
getcap /usr/bin/dumpcapand confirm both capabilities are set. - Reinstall if anything is off:
sudo dnf reinstall 'wireshark*'.
One forum user ran usermod -aG wireshark $USER, logged in again and could capture without sudo, which fits the pattern.
The group doesn’t exist
Reinstall the CLI package, since the group is created by its scriptlet:
sudo dnf reinstall wireshark-cli
getent group wireshark
If it’s still absent, create it by hand and reset the permissions:
sudo groupadd wireshark
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
Order matters here. Changing the group clears file capabilities, so setcap must come last.
Wireshark works with sudo but not without
Almost always a session problem. The group was added but the session predates it. Log out. If that fails, test with sg wireshark -c "tshark -D".
Wi-Fi shows only your own traffic
Capturing on a normal wireless interface shows only frames to and from your machine. Seeing other devices needs monitor mode, and not every driver supports it. Check with iw list. Many built-in adapters refuse, so a supported USB adapter is the usual answer.
Packets are dropped or the GUI freezes
Reduce the load. Add a capture filter, enable a snap length, disable name resolution, and write to a ring buffer. For huge files, use TShark first.
Dependency conflicts after the upgrade to Fedora 45
If DNF complains, refresh metadata and check for leftover third-party packages:
sudo dnf clean all
sudo dnf repoquery --extras
Removing stale packages from retired repositories often clears it up.