Skip to content

Instantly share code, notes, and snippets.

@frafra
Forked from kevineduardo/v4l2loopback_on_fedora_34.md
Last active August 28, 2022 16:33
Show Gist options
  • Save frafra/7d5eed4d7dc2a8214f688fb534899cc8 to your computer and use it in GitHub Desktop.
Save frafra/7d5eed4d7dc2a8214f688fb534899cc8 to your computer and use it in GitHub Desktop.
How to install (and compile) the latest v4l2loopback kernel module on Fedora Workstation 34

How to install (and compile) the latest v4l2loopback kernel module on Fedora Workstation 34

Execute the commands below

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment