Install 32bit wine prefix on x64 Ubuntu 12.04

Questions about Wine on Linux
Locked
Levan
Level 2
Level 2
Posts: 18
Joined: Fri Aug 17, 2012 4:12 pm

Install 32bit wine prefix on x64 Ubuntu 12.04

Post by Levan » Fri Aug 17, 2012 4:35 pm

Sorry I know this question was asked a lot of times but i can not figure out the right answer every topic has different answer.
plus i can not find one particular topic which contains the answer which i used
I know there is a Terminal commend that creates 32bit wind prefix on x64 os

so can some one pleas help me out

thank you in advanced

User avatar
dimesio
Moderator
Moderator
Posts: 12840
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by dimesio » Fri Aug 17, 2012 7:05 pm

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(use the actual path to the wineprefix)

For more info about using different wineprefixes: http://wiki.winehq.org/FAQ#wineprefix

Levan
Level 2
Level 2
Posts: 18
Joined: Fri Aug 17, 2012 4:12 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by Levan » Fri Aug 17, 2012 8:56 pm

Thank you for the reply

sadly i must inform you that this commend did not work as it should have

here is what a got

Code: Select all

levan@Saturn:~$ WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
wine: chdir to /path/to/wineprefix
 : No such file or directory
It might be my fault and if it is sorry for that i am new to Gnu/linux

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by vitamin » Fri Aug 17, 2012 9:36 pm

Levan wrote:wine: chdir to /path/to/wineprefix
: No such file or directory
Obviously you didn't read what dimesio told you. "/path/to" have to exist and usually is your home directory. While "wineprefix" should not. If you want to make you default WINEPREFIX a 32-bit only then command would be:

Code: Select all

WINEARCH=win32 winecfg
Note, you might have to rename/delete $HOME/.wine directory for this to work.

Levan
Level 2
Level 2
Posts: 18
Joined: Fri Aug 17, 2012 4:12 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by Levan » Sat Aug 18, 2012 9:07 am

vitamin wrote:
Levan wrote:wine: chdir to /path/to/wineprefix
: No such file or directory
Obviously you didn't read what dimesio told you. "/path/to" have to exist and usually is your home directory. While "wineprefix" should not. If you want to make you default WINEPREFIX a 32-bit only then command would be:

Code: Select all

WINEARCH=win32 winecfg
Note, you might have to rename/delete $HOME/.wine directory for this to work.
Sorry that i am not giving you much feedback to work with
this is what i got

Code: Select all

levan@Saturn:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/levan/.wine' is a 64-bit installation.
levan@Saturn:~$ 
does this means that wine is set to 32 bit ???

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by vitamin » Sat Aug 18, 2012 8:44 pm

Levan wrote:

Code: Select all

levan@Saturn:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/levan/.wine' is a 64-bit installation.
levan@Saturn:~$ 
does this means that wine is set to 32 bit ???
No. Re-read what I said about "wineprefix" NOT existing.

Levan
Level 2
Level 2
Posts: 18
Joined: Fri Aug 17, 2012 4:12 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by Levan » Sat Aug 18, 2012 9:07 pm

vitamin wrote:
Levan wrote:

Code: Select all

levan@Saturn:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/levan/.wine' is a 64-bit installation.
levan@Saturn:~$ 
does this means that wine is set to 32 bit ???
No. Re-read what I said about "wineprefix" NOT existing.
thank you for your help

When i sad i am new to linux, i think it means something and the answers should be a bit simplified
I understand mostly how windows works, but this thing is totally different from my point of view even file locations makes no sense for me

so sorry for bothering you and thank you for your valuable time

User avatar
dimesio
Moderator
Moderator
Posts: 12840
Joined: Tue Mar 25, 2008 10:30 pm

Re: Install 32bit wine prefix on x64 Ubuntu 12.04

Post by dimesio » Sat Aug 18, 2012 10:32 pm

Read the section of the FAQ that I linked you to in my initial response.

Locked