Step-by-step – Install 32 Bit Libraries to Run Package on Ubuntu 21.04 64 Bit

April 8, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Default Setup

    First, Try to Solve Installing Usually Needed Dependencies

    32bit Libraries Installation Ubuntu 21.04
  2. 3. Looking Up Dependencies

    Else Next Install Dependencies Lookup Package.

    sudo apt install elfutils

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then Look: Solution.

    And then Read Needed Dependencies
    First, Access the target:

    cd /[path/2/myBinPackage]

    And Look up for Libraries:

    readelf -d [myBinPackage]

    Then Look for the NEEDED Entries like here below:

    Ubuntu 21.04 64 bit Install 32 bit Libraries to Execute Binary - readelf Dependencies Output
  3. 4. Installing Dependencies

    Now Search on google for the Package containing the Library
    Eg like in this example with:

    “libdl.so.2 deb package”.

    Finally, to Install the needed Packages
    Eg:

    sudo apt install libc6:i386

So Now I’m truly Happy if My Guide could Help you to Install 32 bit Libraries for Binary on Ubuntu 21.04 64 bit!

Contents


QuickChic Theme • Powered by WordPress