Obs studio browser conflict package

So I want to install obs studio browser, I got a pop up about conflicting package, and I want to replace it. But then it got me an error like this, how I can install it then? Or should I install flatpak obs?

looking for conflicting packages…
:: vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict. Remove vlc-plugin-lua? [y/N]

error: unresolvable package conflicts detected
:: vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict
error: failed to prepare transaction (conflicting dependencies)

You could install obs in flatpak or you could manually resolve the conflict by uninstalling vlc-plugin-lua first before trying to install obs.

is it safe to uninstall vlc-plugin-lua? I don’t want to break anything because it was already there before I try to install obs studio browser

edit: vlc-plugin-lua looks like can’t be uninstalled, I wonder why, so I was forced to use obs studio or flatpak version

Yes. if you try to uninstall a package, you will get an error if something requires it to function which requires you to uninstall that first too to uninstall it (only exceptions are optional dependencies)

However, the reason vlc-plugin-luajit-3.0.21-22 and vlc-plugin-lua-3.0.21-31.1 are in conflict. or indeed just about any other pair of packages conflict and cannot be installed at the same time, is because they provide the same function through different means.

E.g. you’re replacing vlc lua plugin with vlc luajit plugin here, this should not break anything that depends on it in almost every case you encounter this kind of situation.