Install

Fedora

sudo dnf install netcat

You might want to also remove nmap-ncat, if it causes some issues with the overlapping nc command

sudo dnf remove nmap-ncat