web-dev-qa-db-fra.com

Comment exécuter une application 32 bits dans une récente Ubuntu 64 bits

En bref: exactement la même question que " Comment exécuter une application 32 bits dans Ubuntu 64 bits ", mais parce que sa réponse ne fonctionne plus.

Détails:

$ 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

Ainsi, sous Ubuntu Xenial, la réponse précédente ne fonctionnait plus:

$ 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'
6
xpt

Je l'ai trouvé moi-même

apt-get install libc6-i386

Vouloir accepter la réponse de n'importe qui comme réponse.

8
xpt