ubuntu cannot install i386 support library, prompt cannot be found

When using apt-get install to install the 32-bit support library, it prompts that the corresponding package cannot be found.

For example the following tips:

E: Unable to locate package lib32bz2-1.0
E: Unable to locate package libncurses5-dev:i386
E: Unable to locate package libx11-dev:i386
E: Unable to locate package libreadline6-dev:i386

At this point, you need to execute

dpkg --add-architecture i386

Then

apt-get update

Then install the 32-bit support library

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324208185&siteId=291194637