Ok, so I was able to install Virtual Camera using information from different places.
You need to install v4l-utils and v4l2loopback kernel module:
On Fedora:
Code:
sudo dnf install v4l2loopback v4l-utils
on Ubuntu:
Code:
sudo apt install v4l-utils v4l2loopback
Then you need to install the kernel module:
Code:
sudo modprobe v4l2loopback
after this, when you restart OBS studio (or run it) you should have a virtual camera next to record and stream. I have it in the bottom right corner.