Download the Ubuntu package from Iriun website
$ curl -LO https://iriun.gitlab.io/iriunwebcam-2.6.deb
$ sudo dnf install alien rpmrebuild
$ sudo alien -r iriunwebcam-2.6.deb --target=x86_64 --scripts
iriunwebcam-2.6.0-2.x86_64.rpm generated
$ sudo dnf install iriunwebcam-2.6.0-2.x86_64.rpm
$ sudo modprobe v4l2loopback exclusive_caps=1
$ /usr/local/bin/iriunwebcam
In case of hitting following issue, it helps to rebuild the rpm package and remove all dir
attr directives in %files
section.
$ sudo dnf install iriunwebcam-2.6.0-2.x86_64.rpm
Last metadata expiration check: 2:51:07 ago on Mi 17 Nov 2021 09:24:23 CET.
Dependencies resolved.
====================================================================================================================================================================================================
Package Architecture Version Repository Size
====================================================================================================================================================================================================
Installing:
iriunwebcam x86_64 2.6.0-2 @commandline 1.3 M
Transaction Summary
====================================================================================================================================================================================================
Install 1 Package
Total size: 1.3 M
Installed size: 3.8 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /etc from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr/local from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr/local/bin from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr/share from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr/share/applications from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /usr/share/pixmaps from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64
file /etc/modprobe.d from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package kmod-29-4.fc35.x86_64
file /etc/modprobe.d from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package rdma-core-37.0-1.fc35.x86_64
file /etc/modules-load.d from install of iriunwebcam-2.6.0-2.x86_64 conflicts with file from package systemd-udev-249.6-2.fc35.x86_64
$ rpmrebuild -pe iriunwebcam-2.6.0-2.x86_64.rpm
...
%files
%attr(0644, root, root) "/etc/modprobe.d/iriunwebcam-options.conf"
%attr(0644, root, root) "/etc/modules-load.d/iriunwebcam.conf"
%attr(0775, root, root) "/usr/local/bin/iriunwebcam"
%attr(0644, root, root) "/usr/share/applications/iriunwebcam.desktop"
%attr(0644, root, root) "/usr/share/pixmaps/iriunwebcam.png"
...
Do you want to continue ? (y/N) y
result: /home/sfroemer/rpmbuild/RPMS/x86_64/iriunwebcam-2.6.0-2.x86_64.rpm
And perform the install afterwards.
$ sudo dnf install /home/sfroemer/rpmbuild/RPMS/x86_64/iriunwebcam-2.6.0-2.x86_64.rpm
Dependencies resolved.
=====================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================
Upgrading:
iriunwebcam x86_64 2.6.0-2 @commandline 1.3 M
Transaction Summary
=====================================================================================================================================
Upgrade 1 Package
Total size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : iriunwebcam-2.6.0-2.x86_64 1/2
Running scriptlet: iriunwebcam-2.6.0-2.x86_64 1/2
Cleanup : iriunwebcam-2.3.1-2.x86_64 2/2
Running scriptlet: iriunwebcam-2.3.1-2.x86_64 2/2
Verifying : iriunwebcam-2.6.0-2.x86_64 1/2
Verifying : iriunwebcam-2.3.1-2.x86_64 2/2
Upgraded:
iriunwebcam-2.6.0-2.x86_64