[Edit]
+
0
-
0
Ubuntu / Debian - print used architecture by apt and dpkg (x86, x64, armhf, arm64, etc.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33# ---------------------------------------------------------------------------- # Native architecture # ---------------------------------------------------------------------------- dpkg --print-architecture # Example output 1 (AMD Ryzen 5900x): # # x86_64 # Example output 2 (Raspberry PI 5): # # aarch64 # ---------------------------------------------------------------------------- # Foreign architectures (the architectures that have been added to the system) # ---------------------------------------------------------------------------- dpkg --print-foreign-architectures # Example output 1 (AMD Ryzen 5900x): # # i386 # Example output 2 (Raspberry PI 5): # # arm64