You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to Install 32bit Packages on Ubuntu x86_64 and ARM64 shape instance?

in Linux 1 comment

APPLIES TO:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64

GOAL

This step helps to install 32bit Packages on Ubuntu x86_64 and ARM shape instances.

SOLUTION

X86_64

For installing the 32-bit version of the package on x86_64 architecture.

a.  The first command in the sequence will show x86_64 architecture and the second will show empty output.

# dpkg –print-architecture
x86_64
# dpkg –print-foreign-architectures

b. Enable 32bit repositories and get the updated repository using apt-get command.

Example:

# dpkg –add-architecture i386
# dpkg –print-foreign-architectures
i386
# apt-get update

c. To install a package of the non-default architecture just specify that architecture on the command line.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!