Add Debian multiarch remove notes
[khome.git] / 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.026273 seconds and 4 git commands to generate.