Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Recently I upgraded my netbook to Ubuntu 13.04 64-bit from Ubuntu 13.04 beta 2 32-bit.

I want to be able to run 32-bit programs (such as WPS, which is a clone of MS Office 2012) on my PC.

How do I do it? Is there an easy way of doing it via the terminal?

share|improve this question
    
64 bit os can run 32 bit + 64 bit programs , where as 32 bit can run only 32 bit programs ...by the way how come you have upgraded from 32 bit to 64 bit ? –  Qasim May 18 '13 at 15:42
    
the reason i did it was because on the download page it says that if you run windows 8 or any uefi firmware you should use the 64bit version. i can not really see much diference to be honest. –  apad121 May 18 '13 at 16:15
    
What program, and why? –  psusi May 18 '13 at 16:15
    
i wanted to have it so i could run wps. –  apad121 May 18 '13 at 16:17
    
@apad121 got it .......Suggestion : you should update these details in your question –  Qasim May 18 '13 at 19:05
add comment

marked as duplicate by Braiam, psusi, don.joey, Andrea Corbellini, karel Jan 3 at 22:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 6 down vote accepted

If you install the 32-bit compatibility libraries, you should be able to run 32 bit programs normally:

sudo apt-get install ia32-libs
share|improve this answer
    
Thanks for answering. –  apad121 May 19 '13 at 17:49
3  
Please note that this package does not exist in Ubuntu 13.10 any longer. You have to install all the required i386 libraries. –  c_korn Oct 13 '13 at 19:22
    
@c_korn which are? –  Robin Winslow Dec 26 '13 at 21:53
add comment

According to the error message that I got trying to install ia32-libs, the following should work to install the replacement libraries.

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

This seems to install correctly, but I am still getting an error when I try to run my 32 bit application:

error while loading shared libraries: libpangox-1.0.so.0: wrong ELF class: ELFCLASS64

So evidently there is another step needed.

share|improve this answer
    
To get the 32-bit version you should install the packages with a trailing :i386. See this answer for more details. –  OSE Dec 5 '13 at 20:34
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.