Skip to content

Instantly share code, notes, and snippets.

@kevineduardo
Last active April 15, 2024 06:53
Show Gist options
  • Save kevineduardo/80db180f034e406e301ba24ef49395ab to your computer and use it in GitHub Desktop.
Save kevineduardo/80db180f034e406e301ba24ef49395ab 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 using sudo or login as root

dnf install kernel-devel kernel-headers dkms v4l-utils
git clone https://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make
cp -R . /usr/src/v4l2loopback-1.1
dkms add -m v4l2loopback -v 1.1
dkms build -m v4l2loopback -v 1.1
dkms install -m v4l2loopback -v 1.1
reboot now

after reboot execute the following commands

depmod -a
modprobe v4l2loopback card_label="Camera"

that's it, you are done!

@kevineduardo
Copy link
Author

PT-BR: Como instalar e compilar o módulo de kernel v4l2loopback atualizado no Fedora Workstation 34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment