You are not logged in.

#1 2008-08-14 21:13:57

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

How to install i686 packages under x86_64?

EDIT: Never mind big_smile I was an idiot and forgot about /etc/pacman.conf

Last edited by Ranguvar (2008-08-14 21:36:59)

Offline

#2 2008-08-14 21:38:57

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: How to install i686 packages under x86_64?

If you want to run 32bit apps on a 64bit os you have two options: (1) 32bit chroot; (2) bin32/lib32 packages from community/AUR.  You can't simply install packages from the i686 repos on a 64bit system.

Offline

#3 2008-08-14 21:53:18

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,109

Re: How to install i686 packages under x86_64?

Ranguvar wrote:

EDIT: Never mind big_smile I was an idiot and forgot about /etc/pacman.conf

How did altering /etc/pacman.conf help you with this problem?

At any rate, check the Arch wiki pages. There are good discussions and instructions for your options if you need to install i686 packages under x86_64. fwojciec pretty well summed up the situation.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#4 2008-08-15 00:57:44

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: How to install i686 packages under x86_64?

Simply edited the end of each line from x86_64 to i686, installed wine, switched back smile

Offline

#5 2008-08-15 01:36:14

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,109

Re: How to install i686 packages under x86_64?

Ranguvar wrote:

Simply edited the end of each line from x86_64 to i686, installed wine, switched back smile

So you must have installed the handful of 32-bit libraries needed for wine.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#6 2008-08-15 02:16:20

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: How to install i686 packages under x86_64?

Yep smile

Offline

#7 2008-08-15 10:37:57

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: How to install i686 packages under x86_64?

Ranguvar wrote:

Simply edited the end of each line from x86_64 to i686, installed wine, switched back smile

not so good idea. That means any x86_64 lib that you had installed with the same name as a lib32 you just installed for wine has now been overwritten. You can come back to this thread when you find out other programs stop working.

Try searching the AUR for lib32.

Offline

#8 2008-08-15 10:39:45

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: How to install i686 packages under x86_64?

Offline

#9 2008-08-15 12:37:54

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: How to install i686 packages under x86_64?

Arrgh. But, even if I use the AUR lib32s, won't they overwrite as well? And, how would you advise getting out of this situation?

Thanks very much smile

Last edited by Ranguvar (2008-08-15 12:48:24)

Offline

#10 2008-08-15 14:27:01

violagirl23
Member
Registered: 2008-01-24
Posts: 184

Re: How to install i686 packages under x86_64?

No, because the lib32 libs are installed under a different name, or in the lib32 folder, so overwriting does not occur. I suggest looking at all of wine's dependencies and just reinstalling all of those as x86_64 again and then installing the llib32 version from the AUR. Actually, I might just do

pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")

to ensure that you didn't miss any libs, just in case.


"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"

Offline

#11 2008-08-15 14:52:01

rooloo
Member
Registered: 2008-07-09
Posts: 218

Re: How to install i686 packages under x86_64?

But, even if I use the AUR lib32s, won't they overwrite as well?

NO, because they are installed into a different directory, I think its /opt/lib32/ where as x86_64 libs are in /usr/lib/

Offline

#12 2008-08-15 16:23:28

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: How to install i686 packages under x86_64?

Thanks very much for the help =] Messing up appears to be one of the best ways to learn xD

Offline

Board footer

Powered by FluxBB