Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-28-2008, 11:41 AM   #1
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 31
Installing 32bit programs on amd64 (lenny)

Can anyone give me a decent guide for installing a 32bit i386 program on my amd64 machine? I'm trying to install zsnes (who doesn't love SuperNintendo?) It's only available in the i386 repos, so obviously I can't get to it through apt-get.

I've tried dpkg -i --force-architecture but using that it installs with the 64 bit files. This isn't a problem for zsnes, since the 32bit is the only one installed. But some of the libraries zsnes uses (libao2 in particular) are already installed as 64bit libraries but not as the 32bit version. Using dpkg to install these just overwrites the 64bit with the 32bit. The program runs, but now one of my libraries is the wrong architecture. How do i get the debs to install into the 32bit directories where they are supposed to be?

Old 03-29-2008, 01:08 PM   #2
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 371

Rep: Reputation: 40
I don't think you can cross archs. once the os is installed. Of course you can setup an emulator to emulate x86, and x86 oses can be installed on 64 bit. But probably not crossing each other.
Old 03-29-2008, 02:28 PM   #3
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 31
I know you can, A. I had it working, it just overwrote a 64bit library with the 32bit version and it sounded like something that was probably used fairly commonly. Also, if you ever use wine or the flash plugin on amd64 you are running 32bit apps under the amd64 architecture.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
32bit programs on amd64 Mig21 Slackware 8 08-16-2009 04:55 PM
ATI Drivers Not Installing Correctly On Lenny .22-3-amd64 Christopher Debian 1 03-21-2008 01:21 PM
lenny +ipw3945 +amd64 not working cybrjackle Debian 5 08-05-2007 09:36 AM
Installing 32bit libs under Amd64 Sarge ssobeht Debian 1 02-05-2005 12:16 PM
how to compile 32bit on amd64 anarhistu Linux - Newbie 1 01-30-2005 04:12 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:34 PM.

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