Skip to content

Does ArchLinux on ARM64 has any equivalent for AUR?

Hello fellow Arch users,

I hope everyone is staying safe. So to give a little background. I am relatively new to linux. I have used Ubuntu on arm64 before and I have some experience on x86 (currently running POP_OS and Manjaro).

One of the things I liked about Manjaro is having pamac to search and install AUR packages. I have read the documentation for Arch x86 and I kind of get the two methods of installing AUR packages (Using makepkg -si or first installing an AUR helper like yay and using it to install packages). However for arch arm linux, the archarm repo doesn't have any AUR helpers. How would I be able to download and install AUR packages? Is there a specific AUR for arm?

​

Thanks

16 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
16 · 79% up
Kind
Text
ID
ge8oit

Author

24
posts
88
comments
8
media
View profile

14 comments

You can install packages from the AUR in the same way as on vanilla archlinux. Arch also won't have any AUR helpers in the main repos, as this is unsupported. Manjaro is the odd one out in this case.

Some packages from the AUR specifically support arm64 in the arch=() field in the PKGBUILD, others you can force to build with makepkg -A (skipping the arch check), others won't work at all.

It requires some experimentation on a case by case basis.

42 points

I see, when i searched AUR, the search page only showed the option to filter aarch either by x86-64 or any. Nothing specific to aarch64/arm64. However it does seem it depends if maintainer has an arm package or not right?

So to install I first wget the files, then cd into it it, and then run makepg -acs?

1 points

Yeah, the AUR, and AUR helpers like Yay even have aarch64 builds. Some packages on the AUR do have aarch64 versions, and you will get a warning if you attempt to install a package that doesn't build for aarch64. Though just because the maintainer doesn't specify aarch64 in the pkgbuild doesn't mean it won't work, it's really just a try it out situation.

9 points
unknown author1 hidden

u/hitchar had a great response.

Some applications won't be compatible with your systems architecture and you'll get a warning that reads "Incompatible architecture. Install anyways?". (using yay)

Your software selection would be limited compared to and x86 machine, but AUR would generally work the same on ARM.

5 points

ahh okay! Im just looking to install a few (namely paraview, scilab, gmsh,getdp and freecad to test phone performance)

1 points

PKGBUILD supports specifying arm architectures. It's up to package maintainers to add the support. There are tons of ARM-specific and architecture-independent packages in AUR.

2 points

I see, when i searched AUR, the search page only showed the option to filter aarch either by x86-64 or any. Nothing specific to aarch64/arm64. However it does seem it depends if maintainer has an arm package or not right?

1 points

From the PKGBUILD arch wiki page

An array of architectures that the PKGBUILD is intended to build and work on. Arch officially supports only x86_64, but other projects may support other architectures. For example, Arch Linux 32 provides support for i686 and Arch Linux ARM provides support for arm (armv5), armv6h (armv6 hardfloat), armv7h (armv7 hardfloat), and aarch64 (armv8 64-bit).

Example of a package made for ARM

Seems like what you're talking about is a limitation of the search tool.

EDIT: Formatting

1 points

I see, when i searched AUR, the search page only showed the option to filter aarch either by x86-64 or any. Nothing specific to aarch64/arm64. However it does seem it depends if maintainer has an arm package or not right?

1 points

I have yay installed on my Android phone with TermuxArch. It's basically alarm in a proot container. I've successfully compiled many packages from the AUR.

1 points

Oh neat, I used TermuxArch before, right now my Arch install is running inside a Proot that UserLAnd app created. How did you use yay to install things? I know i can use makepkg to get yay, but is it as simple as yay -S package name?

Also mind linking the aur page for yay that supports aarch64? I can only find x86-64 version.

1 points

I have read the documentation for Arch x86 and I kind of get the two methods of installing AUR packages (Using makepkg -si or first installing an AUR helper like yay and using it to install packages). However for arch arm linux, the archarm repo doesn't have any AUR helpers. How would I be able to download and install AUR packages? Is there a specific AUR for arm?

You simply download the pkgbuild for the aur helper you want to use and then build and install using makepkg.

More info:

https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

One of the things I liked about Manjaro is having pamac to search and install AUR packages.

You can also use pamac on arch and it does indeed support aarch64:

https://aur.archlinux.org/packages/pamac-aur/

1 points

Thank you, I will try this later on. Kinda excited to get pamac to work xD.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.