Normally package managers like apt work for X86 and X64 systems.
How does the Linux package manager aptrunning on a Rasberry Pi for example know that the binaries to be fetched and installed must be for the ARM platform?
We simply run sudo apt-get install just like on any other device.
Where is this specified on the device about how to locate the correct packages?