Add Debian multiarch remove notes
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 14 Apr 2020 02:52:39 +0000 (22:52 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 14 Apr 2020 02:52:39 +0000 (22:52 -0400)
notes-debian.md

index 5cbf062..e9b4b93 100644 (file)
@@ -3,10 +3,16 @@ Multiarch
 
 https://wiki.debian.org/Multiarch/HOWTO
 
+### add
        dpkg --add-architecture i386
        apt update
        apt install $PKG_NAME:i386
 
+### remove
+        apt remove $(dpkg --get-selections | awk '/i386/ {print $1}' | xargs)
+        dpkg --remove-architecture i386
+        apt update
+
 Backports
 ---------
 
This page took 0.025821 seconds and 4 git commands to generate.