前段时间安装了Ubuntu 13.10 64位系统,在安装软件时经常会出现32位依赖的问题,网上也说了不少办法,也能顺利解决!但个人总觉得有更好的办法,于是查找Ubuntu官方网站,终于找到了,给兄弟们共享!只需要在命令行中输入以下语句即可:
sudo dpkg --add-architecture i386
这样在出现32位依赖问题时,系统就会自动安装32位的包。
以下是dpkg的帮助说明:
--add-architecture <arch> Add <arch> to the list of architectures.
--remove-architecture <arch> Remove <arch> from the list of architectures.
希望能对大家有用!