如何关闭32位支持?

sudo dpkg --add-architecture i386

使用wine时要开启32支持
那如何关闭呢?

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

To add an extra architecture (in Debian from dpkg 1.16.2 onwards):

dpkg --add-architecture <arch>

e.g.

dpkg --add-architecture armhf

To remove an architecture

dpkg --remove-architecture <arch>

dpkg architectures are stored in /var/lib/dpkg/arch.

在你所举的实例中,关闭32位支持所应当执行的命令为
sudo dpkg --remove-architecture i386

dpkg的手册页对于这两个选项有更加详细的解释:

–add-architecture architecture

Add architecture to the list of architectures for which packages can be installed without using –force-architecture (since dpkg 1.16.2). The architecture dpkg is built for (i.e. the output of –print-architecture) is always part of that list.

–remove-architecture architecture

Remove architecture from the list of architectures for which packages can be installed without using –force-architecture (since dpkg 1.16.2). If the architecture is currently in use in the database then the operation will be refused, except if –force-architecture is specified. The architecture dpkg is built for (i.e. the output of –print-architecture) can never be removed from that list.

1 个赞

感谢:pray: