sudo dnf install git kernel-devel kernel-headers dkms v4l-utils
git clone https://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make
v=$(./currentversion.sh)
sudo cp -R . /usr/src/v4l2loopback-$v
sudo dkms add -m v4l2loopback -v $v
sudo dkms build -m v4l2loopback -v $v
sudo dkms install -m v4l2loopback -v $v
Reboot your machine after that.
sudo depmod -a
sudo modprobe v4l2loopback card_label="Custom camera"