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.
Tips
If QOwnNotes logs Could not write secret to keychain, install the missing Secret Service packages on the host system and restart your desktop session.
For GNOME and other Secret Service based desktops, install gnome-keyring, libsecret and seahorse.
For KDE Plasma, install KWallet support such as kwalletmanager.
QOwnNotes will fall back to legacy encryption if the desktop keychain is unavailable.