Install as Snap
There is a snap qownnotes in the Snap store.
You can install it by typing:
snap install qownnotes
Afterward you should be able to run QOwnNotes with the command qownnotes.
Tips
Snaps are working on many Linux distributions like Ubuntu, Arch Linux, Debian, Fedora, openSUSE, Gentoo Linux, OpenWRT, open embedded and yocto project.