Does Arch linux repo maintainers compile the applications or do they fetch the binaries from the original source?

Does Arch linux repo maintainers compile the applications or do they fetch the binaries from the original source? Take Firefox for example, do they compile the source code or do they just simply put their binaries in their repo?

I think this is really a question for the Arch repo maintainers. :man_shrugging:

1 Like

I do not understand 100% what your question is :thinking:
Usually arch uses original sources (latest) adding minimal patches and do compile the sources, on building packages

2 Likes

All based on the PKGBUILDS what is fetching --> verify --> adding patches and needed files --> calling compiler --> creating filesystem framework --> compressing package.

It is possible to use compiled binaries also if the source is not available like some stuff only exist as Debian packages can be packed after creating a arch filesystem framework to fit into arch filesystem and libs… but this is mostly on AUR…

Hi, my question was like do the Arch repo maintainers compile firefox themselves or does Mozila compile it and then the Arch repo maintainers just download the compiled version of firefox and have it in their repo but anyways you already answered it, thanks.

1 Like

The answer is, it depends. Where the source is available, they are built from source. If it isn’t, they are repackaging a binary.

There are often other things added to make it fully compatible with Arch such as patches, service files, etc…

1 Like

You can look it for yourself from the PKGBUILD file of each package. For example firefox:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/firefox

All Arch packages are here:
https://www.archlinux.org/packages/

All AUR packages are here:
https://aur.archlinux.org/packages/

4 Likes

Arch packages is definitly from source , Aur packages can be from RPM / Deb or other.

Arch packages are not always built from source. They can be downloaded binaries as well. In the case of commercial apps, there is little choice in the matter.

Here is an example.

1 Like

yeah your right, but i meant actually not like aur , even its not in source its juist from discord itself in this case.

1 Like

this is mostly on AUR
as i say already :wink: