CentOS 9 does not have a recent build of wireshark-cli or wireshark, so I downloaded and built wireshark-4.0.10.tar.xz as an RPM for CentOS 9. The only errors I observed were requirements for other Linux variants. The RPM installed without issue.
Before I installed the 4.0.10 RPM I built, I uninstalled wireshark-cli 3.4.10-6 that I had installed as a server without GUI. I know I am at 4.0.10 because this version of wireshark supports tcp.completeness, whereas 3.4.10-6 did not.
When I run tshark, it returns this error and lists the available options:
tshark: unrecognized option '--log-fatal'
The "Diagnostic output" section that includes --log-fatal is missing, but is present if I run 'tshark --help' I am only playing around with an old laptop, so I could simply backup, wipe, and rebuilt so there are no artifacts from 3.4.10-6. But if anyone has a suggestion or fix, I am willing to work through this so I don't need to rebuild.