I installed Manjaro on my Android phone using Termux and Andronix. When I start Manjaro, it starts in a root environment. However, AUR managers like
pamac, do not work in a root environment (they also do not work with
sudo). As a result I cannot install any AUR package. Is there any workaround?
I preferably want to use an AUR manager that works in root environment rather than setting up Manjaro in Termux in a non-root environment.
I know there is a risk involved in running makepkg as root, but I want to take that risk (anyway Termux cannot touch Android’s filesystem, and I will be only using AUR packages that I trust).