06-19-2020, 06:28 AM
(06-19-2020, 03:51 AM)FeMike Wrote: Thank you, I just found how to enable AUR as I was going to try to install Android studio to get the latest and forgot to just look for android tools. I'll do that as soon as I get home. Forgive my next question as I'm still learning, but what do you mean by adding aarch64 to the PKGBUILD? I found this article https://cloudcone.com/docs/article/insta...-from-aur/ is that what you mean?
No exactly, that page is really just outlining how to use different aur helpers/package managers. I'll use the AUR package for android-tools-git (https://aur.archlinux.org/packages/android-tools-git/) to demo what i mean, even though it may not be the right package for you, you may need to try adb-arm64.
Let's say you're using pamac (UI or CLI) when you select a package to install, before it installs the new package, you'll be asked if you want to edit its PKGBUILD (https://aur.archlinux.org/cgit/aur.git/t...-tools-git). That is essentially a text file with important info for the package manager to install the software, it lists dependencies, conflicts, supported architectures, compiling flags, etc. In every PKGBUILD will be a line with something like:
Code:
arch=(i686 x86_64)
In this case, let's say you looked up all the dependencies for this package, and you know they'll all install/run on aarch64. You can edit that line in the PKGBUILD to include aarch64:
Code:
arch=(i686 x86_64 aarch64)
Pamac will then see that as software supporting aarch64 and try to install it.