LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2008, 08:39 PM   #1
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Rep: Reputation: 15
running 64-bit binaries on 32-bit Linux?


Hi,
Is it possible to run 64-bit binaries under 32-bit Linux without emulating a whole system? My hardware is 64-bit compatible (Intel Core 2 Duo). I thought I have found what I was looking for in qemu's usermode. Apparently it allows binaries from different architectures to be run like a native binary provided all the required libraries are installed (much like wine, except it supports many architectures). However, apparently the Ubuntu package of qemu does not contain the qemu-x86_64 binary/script. (while providing a qemu-system-x86_64 one that emulates a whole system)
Code:
$ qemu
qemu                   qemu-make-debian-root  qemu-system-mips
qemu-arm               qemu-mips              qemu-system-mipsel
qemu-armeb             qemu-mipsel            qemu-system-ppc
qemu-i386              qemu-ppc               qemu-system-sparc
qemu-img               qemu-sparc             qemu-system-x86_64
qemu-m68k              qemu-system-arm
AFAIK the qemu-arch binaries are used to execute a binary of that particular architecture (like wine), while qemu-system-arch is used to emulate a whole system in that arch (like vmware).

Does anyone have experience with this?

Thank you
 
Old 01-24-2008, 08:45 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
NO.

You can run 32-bit if you are running 64-bit.
 
Old 01-24-2008, 09:07 PM   #3
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Original Poster
Rep: Reputation: 15
thanks for your reply. Yes, I know I can run 32-bit if I am on 64-bit. However, I only wish to run one application in 64-bit mode (a chess engine I wrote that benefits greatly from 64-bit as the internal data structures I use are 64-bit), and so I am reluctant to install a 64-bit OS and to have to deal with all the 64-bit annoyances. If there is no way to do something like this (which would be kind of weird, since even PPC and Sparc binaries can be run) I will resort to using VMware (yes, it is possible to run 64-bit guest inside 32-bit host, though I couldn't believe it at first either). Thanks again.
 
Old 01-24-2008, 11:46 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
There are almost no annoyances on the current 64bit distros.
 
Old 01-25-2008, 01:20 AM   #5
cyberfishee
Member
 
Registered: Mar 2005
Distribution: Debian Testing
Posts: 133

Original Poster
Rep: Reputation: 15
I see, thank you for your replies.
 
Old 01-25-2008, 05:12 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Especially not with Debian Lenny like you are running there hardly are problem. There are some recent threads in this forum about that, you might want to check those.

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues running 32-bit apps on 64-bit (Opera, Skype) lydgate Linux - Software 5 05-28-2016 01:57 PM
LXer: Running 32-bit Applications on 64-bit Debian GNU/Linux LXer Syndicated Linux News 2 01-06-2010 12:26 PM
32-bit binaries on 64-bit linux? vidar_nelson Linux - Software 3 11-26-2005 02:43 PM
Installing a 64 bit Linux and running 32 binaries? hal9000hal Linux - General 1 01-31-2005 02:41 PM
Installing a 64 bit Linux and running 32 binaries? hal9000hal Linux - Newbie 0 01-31-2005 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration