vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
968 stars 71 forks source link

feature: able to install AUR packages when running as root #196

Closed edmundlaugasson closed 2 years ago

edmundlaugasson commented 3 years ago

Describe the bug bauh tries run yay as root and fails when installing app from AUR. Screenshot_20210917_005348 Tried bauh --reset but didn't help.

Software Environment bauh version: 0.9.19-1 O.S: Endeavour OS (rolling release), KDE Python version: 3.9.7 Installation method: pacman

vinifmor commented 2 years ago

Hello @edmundlaugasson , bauh does not use yay as the AUR backend (it has its own implementation). makepkg does not allow to build/compile packages as root by default (this warning is to prevent the error). I'm going to have a look if it is possible someway.

vinifmor commented 2 years ago

I've just pushed a solution for this feature on the staging branch (bauh-staging package on AUR )