LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[administration][package_managers] Enable different CPU architectures in Apt #743

Open LukeShortCloud opened 2 years ago

LukeShortCloud commented 2 years ago

Example of adding 32-bit and 64-bit Arm support:

# Debian 11 Bullseye
deb [arch=arm64,armhf] http://deb.debian.org/debian bullseye main contrib non-free
# Refer to for the new security repo: https://wiki.debian.org/NewInBullseye 
deb [arch=arm64,armhf] https://security.debian.org/debian-security bullseye-security main
deb [arch=arm64,armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free

https://wiki.debian.org/Multiarch/HOWTO

LukeShortCloud commented 2 years ago

After adding the repository, update the repository cache with apt-get update. Then enable dpkg to install from these architectures:

$ sudo dpkg --add-architecture arm64
$ sudo dpkg --add-architecture armhf