Architecture Mapping

Architecture Mapping

nFPM was branched out of GoReleaser, so some of it lean towards “the Go way” (whatever that means).

GoReleaser passes a string joining GOARCH, GOARM, etc as the package architecture, and nFPM converts to the correct one for each packager.

nFPM also accepts common architecture names from uname -m (like x86_64 and aarch64) and translates them to the correct value for each packager.

Below is a list of the current conversions that are made. Please, feel free to open an issue if you see anything wrong, or if you know the correct value of some missing architecture.

Thank you!


InputValue
amd64amd64
x86_64amd64
386i386
arm64arm64
aarch64arm64
arm5armel
arm6armhf
arm7armhf
mipsmips
mipslemipsel
mips64lemips64el
ppc64leppc64el
s390s390x
InputValue
amd64x86_64
386i386
arm64aarch64
arm5armv5tel
arm6armv6hl
arm7armv7hl
mipsmips
mipslemipsel
mips64lemips64el
loong64loongarch64
InputValue
amd64x86_64
x86_64x86_64
386x86
i386x86
i686x86
arm64aarch64
aarch64aarch64
arm6armhf
arm7armv7
ppc64leppc64le
s390s390x
loong64loongarch64
InputValue
amd64x86_64
x86_64x86_64
386i686
i386i686
arm64aarch64
aarch64aarch64
arm5arm
arm6armv6h
arm7armv7h
InputValue
amd64x86_64
x86_64x86_64
386i386
i386i386
arm64arm64
aarch64arm64
arm5armel
arm6armhf
arm7armhf
mipslemipsel
mips64lemips64el
ppc64leppc64el
s390s390x
Last updated on