I'm trying to install an app from tar.xz. It is portable, meaning I have only to unpack it to some directory and it should run from there as normal user. But where do I unpack it to?
Google recommends /opt but it is owned by root and I cannot write to it as normal user. If I create a subdirectory there as root and copy the files as root, the apps runs correctly only as root. When run as normal user, it cannot write its own config. Obviously.
So, where should I install it?
ETA The accepted answer in the linked (for some reason) question does not work for me. It suggest /opt which breaks the app due to permissions.