![如何在 64 位 Ubuntu 上安装 32 位软件包?](https://linux22.com/image/1171585/%E5%A6%82%E4%BD%95%E5%9C%A8%2064%20%E4%BD%8D%20Ubuntu%20%E4%B8%8A%E5%AE%89%E8%A3%85%2032%20%E4%BD%8D%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%9F.png)
在所有其他有此问题的帖子中,它都说要运行sudo apt-get install package-name:i386
,但这对我来说不起作用。例如,以下是 的输出sudo apt-get install -y libasound2-data:i386
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libasound2-data' instead of 'libasound2-data:i386'
libasound2-data is already the newest version (1.1.9-0ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我已经跑了sudo dpkg --add-architecture i386