top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to run 32bit binary on current ubuntu 64bit system?

+1 vote
506 views

I have some legacy binary code. Is there a way to run it on a current 64bit ubuntu system?

~$ file y
y: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
~$ ./y
-bash: ./y: No such file or directory
posted Jul 27, 2013 by Salil Agrawal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

You might get away by installing the 32bit libraries.
$ sudo apt-cache search ia32-libs
ia32-libs - ia32 shared libraries - transitional package
ia32-libs-multiarch - Multi-arch versions of former ia32-libraries
$ sudo apt-get install ia32-libs

answer Jul 27, 2013 by Sonu Jindal
Similar Questions
0 votes

I am wondering how - or more exactly where - umask is defined on a stock Ubuntu server system.

I have reactivated the root account. Here's the respective default umask for root and normal users:

Nomal User:

$ umask
0002

Root User

$ umask
0022

On RHEL/CentOS, these values are defined in /etc/bashrc and then in the individual ~/.bashrc files. How does Ubuntu handle this?

+6 votes

Structure padding is useful for increasing processing speed for input/output, correct?
My question is i have tested structure padding on 32 and 64 bit system but both the place padding is done to achieve 4 Bytes jump, So why not 8 byte for 64 Bit system?

+1 vote

I want to get rid of mac os x but it seem the mac os firmware are not compatible with current linux? So I have to keep the mac os partition and mac os.
Is there anyone who managed to remove mac os x entirely and will 16.04 be able to do this?

...