5.8 Architectures
A package's architecture identifies the instruction-set architecture its files are for. It is part of the package ID, separate from the name and the version.
5.8.1 Identifier format #
An architecture identifier MUST consist of ASCII letters, digits, ., _,
+, - and ~, and MUST start with a letter or a digit.
5.8.2 Defined architectures #
| Identifier | Meaning |
|---|---|
x86_64 | 64-bit x86 (AMD64, Intel 64) |
aarch64 | 64-bit ARM (ARMv8-A or later) |
noarch | Content that doesn't depend on the architecture |
x86_64 is the primary target. A new identifier SHOULD be the Linux
machine name, as uname -m reports it, where there is one.
5.8.3 Triplets #
Each architecture but noarch has a triplet,
<identifier>-linux-peios, used in the paths where architecture-specific
content is kept apart (§5.15): x86_64-linux-peios, aarch64-linux-peios.
noarch has none.
5.8.4 One architecture per resolution #
A resolution (§5.29) chooses packages of one architecture: the one its
requests name, or the consumer's own. A package of another architecture,
noarch included, is not a candidate in it.