如何在最近的 Ubuntu 64 位系统中运行 32 位应用程序

如何在最近的 Ubuntu 64 位系统中运行 32 位应用程序

简而言之:与“如何在 Ubuntu 64 位系统中运行 32 位应用程序“,而是因为它的答案不再起作用。

细节:

$ bios/extlinux/extlinux
bash: bios/extlinux/extlinux: No such file or directory

$ file bios/extlinux/extlinux 
bios/extlinux/extlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=6b439421a757a6f3a4218c726538be790a22ca13, stripped

$ uname -m
x86_64

$ lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:        16.04
Codename:       xenial

即,在 Ubuntu Xenial 下,以前有效的答案不再有效:

$ sudo dpkg --add-architecture i386

$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libdb1-compat initscripts tzdata

E: Package 'libc6:i386' has no installation candidate
E: Unable to locate package libncurses5:i386
E: Unable to locate package libstdc++6:i386
E: Couldn't find any package by regex 'libstdc++6'

答案1

我自己找到的,

apt-get install libc6-i386

愿意接受任何人的回答作为答案。

相关内容