Use pkcon for installations. In case you have used rpm or zypper directly. In Settings: System settings: Developer mode enable Developer mode and Remote connection. Input a password and tap Save. Then in Terminal app run "devel-su" command and give it the password. You are now root user on the system, so be careful because in the worst case you can brick the phone.