OCI: How to Install 32bit Packages on Ubuntu x86_64 and ARM64 shape instance?
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.
Tagged:
1